summaryrefslogtreecommitdiff
path: root/testapp/exam/views.py
diff options
context:
space:
mode:
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',