From 3833fa423daaf55e30c89d2cd3b02d5bf5f080f5 Mon Sep 17 00:00:00 2001 From: mahesh Date: Wed, 27 Apr 2016 00:15:53 +0530 Subject: changed urls for gradeuser, user_data --- yaksh/urls.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/yaksh/urls.py b/yaksh/urls.py index ea1922d..b32bc36 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -44,19 +44,19 @@ urlpatterns += [ url(r'^manage/addquestion/(?P\d+)/$', views.add_question), url(r'^manage/addquiz/$', views.add_quiz), url(r'^manage/addquiz/(?P\d+)/$', views.add_quiz), - url(r'^manage/gradeuser/$', views.show_all_users), - url(r'^manage/gradeuser/(?P.*)/(?P\d+)/$', - views.grade_user), - url(r'^manage/gradeuser/(?P.*)/$', views.grade_user), + url(r'^manage/gradeuser/$', views.grade_user), + url(r'^manage/gradeuser/(?P\d+)/$',views.grade_user), + url(r'^manage/gradeuser/(?P\d+)/(?P\d+)/$',views.grade_user), + url(r'^manage/gradeuser/(?P\d+)/(?P\d+)/(?P\d+)/$',views.grade_user), url(r'^manage/questions/$', views.show_all_questions), url(r'^manage/monitor/$', views.monitor), url(r'^manage/showquestionpapers/$', views.show_all_questionpapers), url(r'^manage/showquestionpapers/(?P\d+)/$',\ views.show_all_questionpapers), url(r'^manage/monitor/(?P\d+)/$', views.monitor), - url(r'^manage/user_data/(?P.*)/(?P\d+)/$', + url(r'^manage/user_data/(?P\d+)/(?P\d+)/$', views.user_data), - url(r'^manage/user_data/(?P.*)/$', views.user_data), + url(r'^manage/user_data/(?P\d+)/$', views.user_data), url(r'^manage/designquestionpaper/$', views.design_questionpaper), url(r'^manage/designquestionpaper/(?P\d+)/$',\ views.design_questionpaper), -- cgit