File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ class AbstractAssessmentQuestion(models.Model):
46
46
default = QuestionType .UNSPECIFIED .value ,
47
47
choices = build_question_type_choices (),
48
48
)
49
+ # If `min_choices` is 0, then none of the answer options are required
50
+ # If `min_choices` > 0, then at least that many answer options must be selected
51
+ min_choices = models .PositiveSmallIntegerField (default = 0 )
52
+ # If `max_choices` is 0, then all answer options can be selected
53
+ # If `max_choices` > 0, then at most that many answer options can be selected
54
+ max_choices = models .PositiveSmallIntegerField (default = 0 )
49
55
# Specifies the order of questions within an assessment
50
56
order = models .IntegerField (default = 0 )
51
57
# Must be `True` to allow empty text responses or "No Entry" for multiple choice
You can’t perform that action at this time.
0 commit comments