This commit is contained in:
Ross
2020-11-23 16:35:34 +00:00
parent 8c2b3e5a33
commit b21abb69e1
+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:
exam_json_cache["cached"] = False
exam_json_cache["cached"] = True
return JsonResponse(exam_json_cache)