diff options
author | jayparikh111 | 2012-02-17 12:53:34 +0530 |
---|---|---|
committer | jayparikh111 | 2012-02-17 12:53:34 +0530 |
commit | 24e5101972e846ac800932a4721f7e93bf5bdb1b (patch) | |
tree | 72725a0dc733ca906fc536c8052661ad93c950f4 /testapp | |
parent | 44ae45331c5ec81a7a7c4ed6f6d88f67f41be909 (diff) | |
download | online_test-24e5101972e846ac800932a4721f7e93bf5bdb1b.tar.gz online_test-24e5101972e846ac800932a4721f7e93bf5bdb1b.tar.bz2 online_test-24e5101972e846ac800932a4721f7e93bf5bdb1b.zip |
minor changes for URLs
Diffstat (limited to 'testapp')
-rw-r--r-- | testapp/exam/urls.py | 4 | ||||
-rw-r--r-- | testapp/templates/manage.html | 8 |
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> |