.
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>Candidate</th>
|
<th>Candidate</th>
|
||||||
{% for cid in cids %}
|
{% 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 %}
|
{% comment %} <th><a href="">{{cid}}</a></th> {% endcomment %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -604,7 +604,7 @@ def exam_scores_cid_user(request, pk, sk, passcode):
|
|||||||
raise Http404("Packet not in exam mode")
|
raise Http404("Packet not in exam mode")
|
||||||
|
|
||||||
cid = sk
|
cid = sk
|
||||||
if not exam.check_cid_user(cid, passcode):
|
if not exam.check_cid_user(cid, passcode, request):
|
||||||
raise Http404("Error accessing exam")
|
raise Http404("Error accessing exam")
|
||||||
|
|
||||||
questions = exam.exam_questions.all()
|
questions = exam.exam_questions.all()
|
||||||
|
|||||||
Reference in New Issue
Block a user