refactor: Rename Person serializers

This commit is contained in:
James Graham
2020-04-01 16:23:16 +01:00
parent d02f865952
commit 7d1aac2021
3 changed files with 6 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ class RelationshipQuestion(models.Model):
@property
def choices(self) -> typing.List[typing.List[str]]:
"""
Convert the :class:`RelationshipQuestionChoices` for this question into Django choices.
Convert the :class:`RelationshipQuestionChoice`s for this question into Django choices.
"""
return [
[choice.pk, str(choice)] for choice in self.answers.all()