From b6b00a46dabecfb3a2210fcdf483baf6fa86aaca Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 31 Jul 2021 11:52:43 +0100 Subject: [PATCH] . --- generic/views.py | 2 +- longs/templates/longs/mark_answer.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/generic/views.py b/generic/views.py index e6ba3610..f60b79ae 100644 --- a/generic/views.py +++ b/generic/views.py @@ -478,7 +478,7 @@ class ExamViews(View, LoginRequiredMixin): with open(path, "w+") as f: exam_json = exam.get_exam_json() - exam_json["generated"] = time.isoformat() + exam_json["generated"] = "test"+time.isoformat() f.write(json.dumps(exam_json)) exam.recreate_json = False diff --git a/longs/templates/longs/mark_answer.html b/longs/templates/longs/mark_answer.html index e2d7c0da..39184adb 100644 --- a/longs/templates/longs/mark_answer.html +++ b/longs/templates/longs/mark_answer.html @@ -44,9 +44,9 @@
{% csrf_token %} {{ form.as_p }} - + {% if next_unmarked_id %} - + {% else %} (no more answers for this question to mark)