This commit is contained in:
Ross
2021-06-26 11:33:18 +01:00
parent d5b3d00b3c
commit 2ab9726407
+3
View File
@@ -406,6 +406,9 @@ class ExamViews(View, LoginRequiredMixin):
if self.question_type == "long":
h = {}
for question in exam.exam_questions.all():
# Generate json if needed
if question.json_creation_time is None:
question.get_json(question.pk)
h[question.pk] = question.json_creation_time.isoformat()
obj["multi_question_json"] = h
active_exams["exams"].append( obj )