mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-11-01 10:33:53 +00:00
refactor: Rename Person serializers
This commit is contained in:
1 parent
d02f865952
commit
7d1aac2021
3 files changed
+6
-6
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user