From 060ed781bf5ad4fd01ea50cec72273d606d0e07e Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 12 Jan 2021 18:08:24 +0000 Subject: [PATCH] . --- anatomy/views.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/anatomy/views.py b/anatomy/views.py index ca111a57..4f42c03f 100644 --- a/anatomy/views.py +++ b/anatomy/views.py @@ -656,12 +656,10 @@ def exam_scores_cid(request, pk): cids = ( CidUserAnswer.objects.filter(question__in=questions) + .order_by("cid") .values_list("cid", flat=True) - .distinct() ) - cids = cids.sort() - user_answers_and_marks = defaultdict(list) user_answers_marks = defaultdict(list) user_answers = defaultdict(list)