From 561168145ef75c0182ab0ee7d54779973b739e6c Mon Sep 17 00:00:00 2001 From: prathamesh Date: Fri, 1 Apr 2016 17:36:45 +0530 Subject: Minor changes due to model change --- yaksh/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'yaksh/views.py') 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) -- cgit