diff --git a/rapids/templates/rapids/exam_scores.html b/rapids/templates/rapids/exam_scores.html index a4de1751..675a814d 100644 --- a/rapids/templates/rapids/exam_scores.html +++ b/rapids/templates/rapids/exam_scores.html @@ -44,7 +44,7 @@ Candidate {% for cid in cids %} - {{cid}} + {{cid}} {% endfor %} diff --git a/rapids/urls.py b/rapids/urls.py index 819ce93d..c8864e4a 100755 --- a/rapids/urls.py +++ b/rapids/urls.py @@ -56,7 +56,7 @@ urlpatterns = [ ), path("exam//scores", cache_page(60 * 1)(views.exam_scores_cid), name="exam_scores_cid"), path( - "exam//scores//", + "exam//scores//", views.exam_scores_cid_user, name="exam_scores_cid_user", ), diff --git a/rapids/views.py b/rapids/views.py index 32c57667..aba94b2e 100755 --- a/rapids/views.py +++ b/rapids/views.py @@ -907,11 +907,11 @@ def exam_scores_cid(request, pk): ) -def exam_scores_cid_user(request, pk, sk): +def exam_scores_cid_user(request, pk, cid): exam = get_object_or_404(Exam, pk=pk) # TODO:Need some kind of test for cid - cid = sk + #cid = sk questions = exam.exam_questions.all()