refactor: Rename Person serializers

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

No files matched your search

+1 -1
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()