.
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<tr>
|
||||
<th>Candidate</th>
|
||||
{% for cid in cids %}
|
||||
<th><a href="{% url 'anatomy:exam_scores_cid_user' exam.pk cid None %}">{{cid}}</a></th>
|
||||
<th><a href="{% url 'anatomy:exam_scores_cid_user' exam.pk cid 'None' %}">{{cid}}</a></th>
|
||||
{% comment %} <th><a href="">{{cid}}</a></th> {% endcomment %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user