From 318d47ed3b3df7100604cb40d351bffcae3804a0 Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 19 Dec 2021 22:45:33 +0000 Subject: [PATCH] . --- anatomy/templates/anatomy/exam_scores_new.html | 2 +- anatomy/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anatomy/templates/anatomy/exam_scores_new.html b/anatomy/templates/anatomy/exam_scores_new.html index 18685a73..5fc34f07 100644 --- a/anatomy/templates/anatomy/exam_scores_new.html +++ b/anatomy/templates/anatomy/exam_scores_new.html @@ -48,7 +48,7 @@ Candidate {% for cid in cids %} - {{cid}} + {{cid}} {% comment %} {{cid}} {% endcomment %} {% endfor %} diff --git a/anatomy/views.py b/anatomy/views.py index 6d20138a..4c20b82f 100644 --- a/anatomy/views.py +++ b/anatomy/views.py @@ -604,7 +604,7 @@ def exam_scores_cid_user(request, pk, sk, passcode): raise Http404("Packet not in exam mode") cid = sk - if not exam.check_cid_user(cid, passcode): + if not exam.check_cid_user(cid, passcode, request): raise Http404("Error accessing exam") questions = exam.exam_questions.all()