x4
This commit is contained in:
+1
-1
@@ -465,7 +465,7 @@ def exam_json(request, pk):
|
|||||||
exam_json_cache = cache.get("exam_json_{}".format(pk))
|
exam_json_cache = cache.get("exam_json_{}".format(pk))
|
||||||
|
|
||||||
if exam_json_cache is not None and not exam.recreate_json:
|
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)
|
return JsonResponse(exam_json_cache)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user