From a585419efee00361c3a6ef391ba3832ad3db14d5 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 28 Dec 2020 23:46:20 +0000 Subject: [PATCH] . --- anatomy/templates/anatomy/exam_scores.html | 2 +- anatomy/views.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/anatomy/templates/anatomy/exam_scores.html b/anatomy/templates/anatomy/exam_scores.html index 8b61b5ac..a4cf87d8 100644 --- a/anatomy/templates/anatomy/exam_scores.html +++ b/anatomy/templates/anatomy/exam_scores.html @@ -54,7 +54,7 @@ {% endfor %} Score: - {% for score in user_scores %} + {% for score in user_scores_list %} {{score}} {% endfor %} diff --git a/anatomy/views.py b/anatomy/views.py index 213e7446..faece2d0 100644 --- a/anatomy/views.py +++ b/anatomy/views.py @@ -710,7 +710,8 @@ def exam_scores_cid(request, pk): "by_question": by_question, "user_answers": dict(user_answers), "user_answers_marks": dict(user_answers_marks), - "user_scores": user_scores_list, + "user_scores": user_scores, + "user_scores_list": user_scores_list, "user_names": user_names, "user_answers_and_marks": user_answers_and_marks, "max_score": max_score,