From a89aff61b6bab0859c9f81142aa6be5d0ccc8ba1 Mon Sep 17 00:00:00 2001 From: Hardik Ghaghada Date: Wed, 24 Apr 2013 00:09:55 +0530 Subject: 80 Cols per line, corrected indentation in files & implemented DRY --- testapp/exam/urls.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'testapp/exam/urls.py') 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\d+)/$', 'show_all_questionpapers'), + url(r'^manage/showquestionpapers/(?P\d+)/$',\ + 'show_all_questionpapers'), url(r'^manage/monitor/(?P\d+)/$', 'monitor'), - url(r'^manage/user_data/(?P[a-zA-Z0-9_.]+)/$', 'user_data'), + url(r'^manage/user_data/(?P[a-zA-Z0-9_.]+)/$','user_data'), url(r'^manage/designquestionpaper/$','design_questionpaper'), - url(r'^manage/designquestionpaper/(?P\d+)/$', 'design_questionpaper'), - url(r'^manage/designquestionpaper/automatic/(?P\d+)/$','automatic_questionpaper'), + url(r'^manage/designquestionpaper/(?P\d+)/$',\ + 'design_questionpaper'), + url(r'^manage/designquestionpaper/automatic/(?P\d+)/$',\ + 'automatic_questionpaper'), url(r'^manage/designquestionpaper/automatic$','automatic_questionpaper'), url(r'^manage/designquestionpaper/manual$','manual_questionpaper'), - url(r'^manage/designquestionpaper/manual/(?P\d+)/$','manual_questionpaper'), - + url(r'^manage/designquestionpaper/manual/(?P\d+)/$',\ + 'manual_questionpaper'), ) - -- cgit