summaryrefslogtreecommitdiff
path: root/testapp/exam
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/exam')
-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)