Add question time limit to CaseCollection model and update related template for countdown display
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user