.
This commit is contained in:
+1
-1
@@ -976,7 +976,7 @@ def question_json(request, pk):
|
||||
#if not exam.active:
|
||||
# raise Http404("No available exam")
|
||||
|
||||
question_json_cache = cache.get("{}_question_json_{}".format("longs", sk))
|
||||
question_json_cache = cache.get("{}_question_json_{}".format("longs", pk))
|
||||
|
||||
if question_json_cache is not None and not question.recreate_json:
|
||||
question_json_cache["cached"] = True
|
||||
|
||||
Reference in New Issue
Block a user