summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index 8bd65bb..0293ae7 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -1335,6 +1335,7 @@ def download_quiz_csv(request, course_id, quiz_id):
= 'answerpaper.get_per_question_score({0})'.format(question.id)
csv_fields_values.update(questions_scores)
+ users = users.exclude(id=course.creator.id).exclude(id__in=course.teachers.all())
for user in users:
row = []
answerpaper = None