This commit is contained in:
Ross
2021-03-12 09:02:13 +00:00
parent 679c4ee90f
commit 4c95be03f4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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)