mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
feat: configurable order for static questions
This commit is contained in:
@@ -175,7 +175,10 @@ class PersonAnswerSet(AnswerSet):
|
||||
project_started_date = models.DateField(blank=False, null=True)
|
||||
|
||||
#: Job title this person holds within their organisation
|
||||
job_title = models.CharField(max_length=255, blank=True, null=False)
|
||||
job_title = models.CharField(help_text='Contractual job title',
|
||||
max_length=255,
|
||||
blank=True,
|
||||
null=False)
|
||||
|
||||
#: Project themes within this person works
|
||||
themes = models.ManyToManyField(Theme, related_name='people', blank=True)
|
||||
|
||||
@@ -46,6 +46,13 @@ class Question(models.Model):
|
||||
blank=False,
|
||||
null=False)
|
||||
|
||||
#: Is this question hardcoded in an AnswerSet?
|
||||
is_hardcoded = models.BooleanField(
|
||||
help_text='Only the order field has any effect for a hardcoded question.',
|
||||
default=False,
|
||||
blank=False,
|
||||
null=False)
|
||||
|
||||
#: Should people be able to add their own answers?
|
||||
allow_free_text = models.BooleanField(default=False,
|
||||
blank=False,
|
||||
|
||||
Reference in New Issue
Block a user