summaryrefslogtreecommitdiff
path: root/testapp/exam/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/exam/urls.py')
-rw-r--r--testapp/exam/urls.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/testapp/exam/urls.py b/testapp/exam/urls.py
index f435e63..4651204 100644
--- a/testapp/exam/urls.py
+++ b/testapp/exam/urls.py
@@ -24,9 +24,15 @@ urlpatterns = patterns('exam.views',
url(r'^manage/questions/$', 'show_all_questions'),
url(r'^manage/showquiz/$','show_all_quiz'),
url(r'^manage/monitor/$', 'monitor'),
+ url(r'^manage/showquestionpapers/$','show_all_questionpapers'),
+ url(r'^manage/showquestionpapers/(?P<questionpaper_id>\d+)/$', 'show_all_questionpapers'),
url(r'^manage/monitor/(?P<quiz_id>\d+)/$', 'monitor'),
url(r'^manage/user_data/(?P<username>[a-zA-Z0-9_.]+)/$', 'user_data'),
-
+ url(r'^manage/designquestionpaper/$','design_questionpaper'),
+ url(r'^manage/designquestionpaper/(?P<questionpaper_id>\d+)/$', 'design_questionpaper'),
+ url(r'^manage/designquestionpaper/automatic/(?P<questionpaper_id>\d+)/$','automatic_questionpaper'),
+ url(r'^manage/designquestionpaper/automatic$','automatic_questionpaper'),
+ url(r'^manage/designquestionpaper/manual$','manual_questionpaper'),
)