diff options
author | hardythe1 | 2014-07-02 13:06:21 +0530 |
---|---|---|
committer | hardythe1 | 2014-07-02 13:06:21 +0530 |
commit | d56eaad3340a7580276b0e4644b48f224cb695c8 (patch) | |
tree | f5e3ec8daf3ca5066e4a2207fa29e64c2f9d7d47 /testapp/exam | |
parent | 6e0a770f36a88c82f948628255d9dd8a8ead8580 (diff) | |
download | online_test-d56eaad3340a7580276b0e4644b48f224cb695c8.tar.gz online_test-d56eaad3340a7580276b0e4644b48f224cb695c8.tar.bz2 online_test-d56eaad3340a7580276b0e4644b48f224cb695c8.zip |
correcting a small syntax error'
Diffstat (limited to 'testapp/exam')
-rw-r--r-- | testapp/exam/views.py | 2 |
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") |