x3
This commit is contained in:
@@ -465,6 +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
|
||||
return JsonResponse(exam_json_cache)
|
||||
|
||||
|
||||
@@ -482,6 +483,7 @@ def exam_json(request, pk):
|
||||
|
||||
exam_json = {
|
||||
"eid": exam.id,
|
||||
"cached": False,
|
||||
"exam_type": "anatomy",
|
||||
"exam_name": exam.name,
|
||||
"exam_mode": True,
|
||||
|
||||
Reference in New Issue
Block a user