summaryrefslogtreecommitdiff
path: root/testapp/exam/views.py
diff options
context:
space:
mode:
authorHardik Ghaghada2013-07-03 16:37:57 +0530
committerHardik Ghaghada2013-07-03 16:37:57 +0530
commit156bb47ecebcca190683b8e59f917a5b742d11fd (patch)
treef163bf0a905a52eb7e7016593cec21edb2a56e9c /testapp/exam/views.py
parent2ad3d7977ae9a62255901ae2133f6c3570ad3016 (diff)
downloadonline_test-156bb47ecebcca190683b8e59f917a5b742d11fd.tar.gz
online_test-156bb47ecebcca190683b8e59f917a5b742d11fd.tar.bz2
online_test-156bb47ecebcca190683b8e59f917a5b742d11fd.zip
corrected a small malfunction
Diffstat (limited to 'testapp/exam/views.py')
-rw-r--r--testapp/exam/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/testapp/exam/views.py b/testapp/exam/views.py
index 06da6d6..e2ff763 100644
--- a/testapp/exam/views.py
+++ b/testapp/exam/views.py
@@ -810,6 +810,8 @@ def complete(request, reason=None, answerpaper_id=None):
you answered all the questions correctly.\
You have been logged out successfully,\
Thank You !"}
+ logout(request)
+ return my_render_to_response('exam/complete.html',context)
else:
context = {'message': reason}
logout(request)