From d56eaad3340a7580276b0e4644b48f224cb695c8 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Wed, 2 Jul 2014 13:06:21 +0530 Subject: correcting a small syntax error' --- testapp/exam/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testapp/exam/views.py') diff --git a/testapp/exam/views.py b/testapp/exam/views.py index 8b84920..ad5c263 100644 --- a/testapp/exam/views.py +++ b/testapp/exam/views.py @@ -179,7 +179,7 @@ def intro(request, questionpaper_id): context = {'user': user, 'paper_id': questionpaper_id} return my_render_to_response('exam/intro.html', context, context_instance=ci) - else: else: + else: context = {'user': user, 'cannot_attempt':True} return my_redirect("/exam/quizzes/?cannot_attempt=True") -- cgit