summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index 30a9299..d06785f 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -1210,7 +1210,8 @@ def download_csv(request, questionpaper_id):
paper.marks_obtained,
paper.question_paper.total_marks,
paper.percent,
- paper.questions, paper.questions_answered,
+ paper.questions.all(),
+ paper.questions_answered.all(),
paper.status
]
writer.writerow(row)