diff options
author | hardythe1 | 2012-02-16 16:19:13 +0530 |
---|---|---|
committer | hardythe1 | 2012-02-16 16:19:13 +0530 |
commit | 7dbb5b44622984b064768b84008998555f2f3b0b (patch) | |
tree | 79be064cda27bf99cd3a9f8ff01d05c05da77bba /testapp | |
parent | 7df150b5a12f4b96041d9fc79ec24a09a8cf5e4c (diff) | |
download | online_test-7dbb5b44622984b064768b84008998555f2f3b0b.tar.gz online_test-7dbb5b44622984b064768b84008998555f2f3b0b.tar.bz2 online_test-7dbb5b44622984b064768b84008998555f2f3b0b.zip |
minor correction in views.py
Diffstat (limited to 'testapp')
-rw-r--r-- | testapp/exam/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testapp/exam/views.py b/testapp/exam/views.py index 0e862ca..2b4a0fe 100644 --- a/testapp/exam/views.py +++ b/testapp/exam/views.py @@ -118,12 +118,12 @@ def add_quiz(request): return my_redirect("/exam/manage/addquiz") else: - return my_render_to_response('exam/addquiz.html', + return my_render_to_response('exam/add_quiz.html', {'form':form}, context_instance=RequestContext(request)) else: form = QuizForm() - return my_render_to_response('exam/addquiz.html', + return my_render_to_response('exam/add_quiz.html', {'form':form}, context_instance=RequestContext(request)) |