begin correct sorting of exams/collection

This commit is contained in:
Ross
2024-02-18 21:56:19 +00:00
parent 4721122e4d
commit 7c9192986a
6 changed files with 29 additions and 9 deletions
+1 -1
View File
@@ -411,7 +411,7 @@ class Exam(ExamBase):
examcollection = models.ForeignKey(ExamCollection, blank=True, null=True, on_delete=models.SET_NULL, related_name="anatomy_exams")
def get_exam_json(self, based=True):
questions = self.exam_questions.all()
questions = self.get_questions()
exam_questions = defaultdict(dict)