From 3ffb49de976dc126ebe0790f6aeb973cd5f940c5 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 23 Nov 2020 16:26:20 +0000 Subject: [PATCH] x2 --- anatomy/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anatomy/views.py b/anatomy/views.py index 6fb80575..6062d68e 100644 --- a/anatomy/views.py +++ b/anatomy/views.py @@ -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()