summaryrefslogtreecommitdiff
path: root/exam
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-17 21:52:21 +0530
committerPrabhu Ramachandran2011-11-17 21:52:21 +0530
commit3d9a6bc68e5fbf9093a7ea926c7431e93775d8d3 (patch)
tree5fa8d75aa8661f07fbbd39d0dc182b4a3d729b7f /exam
parent9f674808a5681a0380531ff62079b94874641c1e (diff)
downloadonline_test-3d9a6bc68e5fbf9093a7ea926c7431e93775d8d3.tar.gz
online_test-3d9a6bc68e5fbf9093a7ea926c7431e93775d8d3.tar.bz2
online_test-3d9a6bc68e5fbf9093a7ea926c7431e93775d8d3.zip
ENH/BUG: Showing number of marks and fixing bug.
The check view was not showing the quiz description.
Diffstat (limited to 'exam')
-rw-r--r--exam/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/exam/views.py b/exam/views.py
index 2437fba..f30398a 100644
--- a/exam/views.py
+++ b/exam/views.py
@@ -184,6 +184,7 @@ def check(request, q_id):
context = {'question': question, 'error_message': err_msg,
'paper': paper, 'last_attempt': answer,
+ 'quiz_name': paper.quiz.description,
'time_left': time_left}
return render_to_response('exam/question.html', context,