diff options
author | jayparikh111 | 2012-02-22 16:02:07 +0530 |
---|---|---|
committer | jayparikh111 | 2012-02-22 16:02:07 +0530 |
commit | f2d65592affd34bc60cf4a3a2c72de1d84c934c0 (patch) | |
tree | 907639272648fd5976c052a8635c40aee8d53cbd /testapp/exam/urls.py | |
parent | 2b6b595ca8652696ab9059add8ea54661cab5f31 (diff) | |
download | online_test-f2d65592affd34bc60cf4a3a2c72de1d84c934c0.tar.gz online_test-f2d65592affd34bc60cf4a3a2c72de1d84c934c0.tar.bz2 online_test-f2d65592affd34bc60cf4a3a2c72de1d84c934c0.zip |
Changes related to Authentication of Moderator
Diffstat (limited to 'testapp/exam/urls.py')
-rw-r--r-- | testapp/exam/urls.py | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/testapp/exam/urls.py b/testapp/exam/urls.py index 2187e58..d4ebe50 100644 --- a/testapp/exam/urls.py +++ b/testapp/exam/urls.py @@ -3,23 +3,26 @@ from django.conf.urls.defaults import patterns, include, url urlpatterns = patterns('exam.views', url(r'^$', 'index'), url(r'^login/$', 'user_login'), + url(r'^start/$', 'start'), + url(r'^quit/$', 'quit'), + url(r'^complete/$', 'complete'), + url(r'^register/$', 'user_register'), + url(r'^(?P<q_id>\d+)/$', 'question'), + url(r'^(?P<q_id>\d+)/check/$', 'check'), + url(r'^manage/$', 'prof_manage'), url(r'^manage/addquestion/$', 'add_question'), url(r'^manage/addquestion/(?P<question_id>\d+)/$', 'add_question'), url(r'^manage/addquiz/$', 'add_quiz'), url(r'^manage/addquiz/(?P<quiz_id>\d+)/$', 'add_quiz'), url(r'^manage/gradeuser/$', 'show_all_users'), + url(r'^manage/gradeuser/(?P<username>[a-zA-Z0-9_.]+)/$', 'grade_user'), url(r'^manage/questions/$', 'show_all_questions'), - url(r'^manage/showquiz/$','show_all_quiz'), - url(r'^register/$', 'user_register'), - url(r'^start/$', 'start'), - url(r'^quit/$', 'quit'), - url(r'^complete/$', 'complete'), + url(r'^manage/showquiz/$','show_all_quiz'), url(r'^manage/monitor/$', 'monitor'), url(r'^manage/monitor/(?P<quiz_id>\d+)/$', 'monitor'), - url(r'^user_data/(?P<username>[a-zA-Z0-9_.]+)/$', 'user_data'), - 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'), + url(r'^manage/user_data/(?P<username>[a-zA-Z0-9_.]+)/$', 'user_data'), + + ) |