summaryrefslogtreecommitdiff
path: root/testapp/exam/views.py
diff options
context:
space:
mode:
authorprathamesh2014-07-03 17:45:50 +0530
committerprathamesh2014-07-03 17:45:50 +0530
commite3b7611e7c6cbbe105b8c709c42ef9b4ae27e18b (patch)
treed73371b09e9dde3e4704f58a621fd01b6c6b67da /testapp/exam/views.py
parentaa80f512fbea42a1b78255254132fccf618030cf (diff)
downloadonline_test-e3b7611e7c6cbbe105b8c709c42ef9b4ae27e18b.tar.gz
online_test-e3b7611e7c6cbbe105b8c709c42ef9b4ae27e18b.tar.bz2
online_test-e3b7611e7c6cbbe105b8c709c42ef9b4ae27e18b.zip
minor change
Diffstat (limited to 'testapp/exam/views.py')
-rw-r--r--testapp/exam/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testapp/exam/views.py b/testapp/exam/views.py
index bee617d..38beb0d 100644
--- a/testapp/exam/views.py
+++ b/testapp/exam/views.py
@@ -203,7 +203,7 @@ def results_user(request):
max_marks = paper.question_paper.total_marks
percentage = round((marks_obtained/max_marks)*100, 2)
temp = paper.question_paper.quiz.description, marks_obtained,\
- max_marks, percetage
+ max_marks, percentage
quiz_marks.append(temp)
context = {'papers': quiz_marks}
return my_render_to_response("exam/results_user.html", context)