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 ++
testapp/templates/exam/question.html | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
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)
diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html
index 1282130..7260d15 100644
--- a/testapp/templates/exam/question.html
+++ b/testapp/templates/exam/question.html
@@ -92,7 +92,7 @@ function update_time()
{% endfor %}
{% else %}
-
+
--
cgit