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:
@@ -61,6 +61,9 @@ class Organisation(models.Model):
|
||||
|
||||
class OrganisationAnswerSet(AnswerSet):
|
||||
"""The answers to the organisation questions at a particular point in time."""
|
||||
|
||||
question_model = OrganisationQuestion
|
||||
|
||||
#: Organisation to which this answer set belongs
|
||||
organisation = models.ForeignKey(Organisation,
|
||||
on_delete=models.CASCADE,
|
||||
|
||||
Reference in New Issue
Block a user