improve surverys

This commit is contained in:
Ross
2026-06-29 09:35:12 +01:00
parent 79ba4db4bf
commit c34dcdfd5e
26 changed files with 911 additions and 39 deletions
+8
View File
@@ -732,6 +732,14 @@ class ExamOrCollectionGenericBase(models.Model, AuthorMixin):
related_name="%(app_label)s_%(class)s_post_surveys",
help_text="Survey to be filled out AFTER completing this collection/exam."
)
pre_survey_mandatory = models.BooleanField(
default=False,
help_text="If checked, candidates must complete the pre-take survey to start."
)
post_survey_mandatory = models.BooleanField(
default=False,
help_text="If checked, candidates must complete the post-take survey to view results."
)
class Meta:
abstract = True