diff --git a/generic/views.py b/generic/views.py index c97e26d4..56d30616 100644 --- a/generic/views.py +++ b/generic/views.py @@ -332,12 +332,11 @@ class ExamViews(View, LoginRequiredMixin): "json_creation_time": creation_time } - #if self.question_type == "long": - # h = {} - # #for question in exam.exam_questions.all(): - # # h[question.pk] = question.json_creation_time.isoformat() - # # h[question.pk] = "TEST" - # json["multi_question_json"] = h + if self.question_type == "long": + h = {} + for question in exam.exam_questions.all(): + h[question.pk] = question.json_creation_time.isoformat() + json["multi_question_json"] = h active_exams["exams"].append( obj ) if json == False: