This commit is contained in:
Ross
2021-03-11 13:05:29 +00:00
parent 5327877aae
commit b96b88d2e5
+5 -6
View File
@@ -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: