summaryrefslogtreecommitdiff
path: root/testapp/exam/urls.py
diff options
context:
space:
mode:
authorHardik Ghaghada2013-04-24 00:09:55 +0530
committerHardik Ghaghada2013-04-24 00:09:55 +0530
commita89aff61b6bab0859c9f81142aa6be5d0ccc8ba1 (patch)
tree6ec4f8e01886c5b82bf70d4e3cbdd5a3d1469dfc /testapp/exam/urls.py
parent0890351ba31dfe3904ff0f064ce9316405473cd3 (diff)
downloadonline_test-a89aff61b6bab0859c9f81142aa6be5d0ccc8ba1.tar.gz
online_test-a89aff61b6bab0859c9f81142aa6be5d0ccc8ba1.tar.bz2
online_test-a89aff61b6bab0859c9f81142aa6be5d0ccc8ba1.zip
80 Cols per line, corrected indentation in files & implemented DRY
Diffstat (limited to 'testapp/exam/urls.py')
-rw-r--r--testapp/exam/urls.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/testapp/exam/urls.py b/testapp/exam/urls.py
index ff1545a..b3cfceb 100644
--- a/testapp/exam/urls.py
+++ b/testapp/exam/urls.py
@@ -30,15 +30,17 @@ urlpatterns = patterns('exam.views',
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/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/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/(?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'),
- url(r'^manage/designquestionpaper/manual/(?P<questionpaper_id>\d+)/$','manual_questionpaper'),
-
+ url(r'^manage/designquestionpaper/manual/(?P<questionpaper_id>\d+)/$',\
+ 'manual_questionpaper'),
)
-