Add question time limit to CaseCollection model and update related template for countdown display

This commit is contained in:
Ross
2025-10-13 09:45:12 +01:00
parent 682e8160b5
commit 6f99cf0d53
5 changed files with 104 additions and 95 deletions
+6
View File
@@ -942,6 +942,12 @@ class CaseCollection(ExamOrCollectionGenericBase):
feedback_once_collection_complete = models.BooleanField(default=True, help_text="If true feedback is only given once the collection is complete. If false feedback is given after each case.")
question_time_limit = models.PositiveIntegerField(
blank=True,
null=True,
help_text="Time limit for answering questions in seconds."
)
class COLLECTION_TYPE_CHOICES(models.TextChoices):
REVIEW = (
"REV",