summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testapp/exam/views.py2
1 files changed, 1 insertions, 1 deletions
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")