From 156bb47ecebcca190683b8e59f917a5b742d11fd Mon Sep 17 00:00:00 2001 From: Hardik Ghaghada Date: Wed, 3 Jul 2013 16:37:57 +0530 Subject: corrected a small malfunction --- testapp/exam/views.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testapp/exam/views.py') 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) -- cgit