feat: add exam mode take URL method to Exam and CaseCollection models

This commit is contained in:
Ross
2026-07-06 10:25:13 +01:00
parent 5414a5b4f9
commit c6fe4df763
3 changed files with 11 additions and 0 deletions
+4
View File
@@ -1909,6 +1909,10 @@ class CaseCollection(ExamOrCollectionGenericBase):
def get_take_url(self):
return reverse("atlas:collection_take_start", kwargs={"pk": self.pk})
def get_take_url_exam_mode(self):
return reverse("atlas:collection_take_start", kwargs={"pk": self.pk})
def __str__(self) -> str:
return self.name