summaryrefslogtreecommitdiff
path: root/testapp/exam/views.py
diff options
context:
space:
mode:
authorjayparikh1112012-02-17 12:12:33 +0530
committerjayparikh1112012-02-17 12:12:33 +0530
commitcc348af7bed2430dbd1c748138642ea7ecbe09a9 (patch)
tree978f40714eeba88bc40fa7473b51fe8f0f8e2df9 /testapp/exam/views.py
parent3cf25b2893bc7b9c7e31240a6e43aedfade68080 (diff)
downloadonline_test-cc348af7bed2430dbd1c748138642ea7ecbe09a9.tar.gz
online_test-cc348af7bed2430dbd1c748138642ea7ecbe09a9.tar.bz2
online_test-cc348af7bed2430dbd1c748138642ea7ecbe09a9.zip
minor url changes
Diffstat (limited to 'testapp/exam/views.py')
-rw-r--r--testapp/exam/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testapp/exam/views.py b/testapp/exam/views.py
index 7c7a8ad..b202ff3 100644
--- a/testapp/exam/views.py
+++ b/testapp/exam/views.py
@@ -97,7 +97,7 @@ def add_question(request):
if form.is_valid():
data = form.cleaned_data
form.save()
- return my_redirect("/exam/addquestion/")
+ return my_redirect("/exam/manage/addquestion/")
else:
return my_render_to_response('exam/add_question.html',
@@ -115,7 +115,7 @@ def add_quiz(request):
if form.is_valid():
data = form.cleaned_data
form.save()
- return my_redirect("/exam/addquiz")
+ return my_redirect("/exam/manage/addquiz")
else:
return my_render_to_response('exam/add_quiz.html',