.
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user