.
This commit is contained in:
+1
-1
@@ -373,7 +373,7 @@ class ExamViews(View, LoginRequiredMixin):
|
||||
raise Http404("No available exam")
|
||||
|
||||
|
||||
exam_json_cache = cache.get("{}_exam_json_{}".format(self.app_name, pk))
|
||||
#exam_json_cache = cache.get("{}_exam_json_{}".format(self.app_name, pk))
|
||||
|
||||
path= "{0}{1}/exam/{2}.json".format(settings.MEDIA_ROOT, self.app_name, pk)
|
||||
url= "{0}{1}/exam/{2}.json".format(settings.MEDIA_URL, self.app_name, pk)
|
||||
|
||||
Reference in New Issue
Block a user