mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
refactor: allow admin config of static questions
Text and visibility set in admin panel are now respected everywhere
This commit is contained in:
@@ -132,6 +132,8 @@ class Person(models.Model):
|
||||
|
||||
class PersonAnswerSet(AnswerSet):
|
||||
"""The answers to the person questions at a particular point in time."""
|
||||
question_model = PersonQuestion
|
||||
|
||||
#: Person to which this answer set belongs
|
||||
person = models.ForeignKey(Person,
|
||||
on_delete=models.CASCADE,
|
||||
|
||||
Reference in New Issue
Block a user