mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
feat: allow multiple choice questions in forms
This commit is contained in:
@@ -22,6 +22,11 @@ class Question(models.Model):
|
||||
#: Text of question
|
||||
text = models.CharField(max_length=255, blank=False, null=False)
|
||||
|
||||
#: Should people be able to select multiple responses to this question?
|
||||
is_multiple_choice = models.BooleanField(default=False,
|
||||
blank=False,
|
||||
null=False)
|
||||
|
||||
#: Position of this question in the list
|
||||
order = models.SmallIntegerField(default=0, blank=False, null=False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user