This commit is contained in:
Ross
2020-11-23 16:26:20 +00:00
parent 144b8f6224
commit 3ffb49de97
+1 -1
View File
@@ -465,7 +465,7 @@ def exam_json(request, pk):
exam_json_cache = cache.get("exam_json_{}".format(pk))
if exam_json_cache is not None and not exam.recreate_json:
return JsonResponse(exam_json)
return JsonResponse(exam_json_cache)
questions = exam.exam_questions.all()