summaryrefslogtreecommitdiff
path: root/testapp
diff options
context:
space:
mode:
Diffstat (limited to 'testapp')
-rw-r--r--testapp/exam/urls.py4
-rw-r--r--testapp/templates/manage.html8
2 files changed, 6 insertions, 6 deletions
diff --git a/testapp/exam/urls.py b/testapp/exam/urls.py
index 8fa9a36..72c93fa 100644
--- a/testapp/exam/urls.py
+++ b/testapp/exam/urls.py
@@ -12,9 +12,9 @@ urlpatterns = patterns('exam.views',
url(r'^quit/$', 'quit'),
url(r'^complete/$', 'complete'),
url(r'^manage/monitor/$', 'monitor'),
- url(r'^monitor/(?P<quiz_id>\d+)/$', 'monitor'),
+ url(r'^manage/monitor/(?P<quiz_id>\d+)/$', 'monitor'),
url(r'^user_data/(?P<username>[a-zA-Z0-9_.]+)/$', 'user_data'),
- url(r'^grade_user/(?P<username>[a-zA-Z0-9_.]+)/$', 'grade_user'),
+ url(r'^manage/grade_user/(?P<username>[a-zA-Z0-9_.]+)/$', 'grade_user'),
url(r'^(?P<q_id>\d+)/$', 'question'),
url(r'^(?P<q_id>\d+)/check/$', 'check'),
)
diff --git a/testapp/templates/manage.html b/testapp/templates/manage.html
index c8b0b99..c757523 100644
--- a/testapp/templates/manage.html
+++ b/testapp/templates/manage.html
@@ -25,10 +25,10 @@
<div class="span4">
<h5>Manage</h5>
<ul>
- <li><a href="{{ URL_ROOT }}/exam/addquestion">Add Questions</a></li>
- <li><a href="{{ URL_ROOT }}/exam/addquiz">Add Quiz</a></li>
- <li><a href="{{ URL_ROOT }}/exam/grade_user">Grade User</a></li>
- <li><a href="{{ URL_ROOT }}/exam/monitor">Monitor</a></li>
+ <li><a href="{{ URL_ROOT }}/exam/manage/addquestion">Add Questions</a></li>
+ <li><a href="{{ URL_ROOT }}/exam/manage/addquiz">Add Quiz</a></li>
+ <li><a href="{{ URL_ROOT }}/exam/manage/gradeuser">Grade User</a></li>
+ <li><a href="{{ URL_ROOT }}/exam/manage/monitor">Monitor</a></li>
</ul>
</div>
</div>