This commit is contained in:
Ross
2021-03-11 13:03:28 +00:00
parent 076462a44d
commit 917edf875f
+6 -6
View File
@@ -332,12 +332,12 @@ class ExamViews(View, LoginRequiredMixin):
"json_creation_time": creation_time "json_creation_time": creation_time
} }
if self.question_type == "long": #if self.question_type == "long":
h = {} # h = {}
#for question in exam.exam_questions.all(): # #for question in exam.exam_questions.all():
# h[question.pk] = question.json_creation_time.isoformat() # # h[question.pk] = question.json_creation_time.isoformat()
# h[question.pk] = "TEST" # # h[question.pk] = "TEST"
json["multi_question_json"] = h # json["multi_question_json"] = h
active_exams["exams"].append( json ) active_exams["exams"].append( json )
if json == False: if json == False: