diff options
author | mahesh | 2016-04-27 00:15:53 +0530 |
---|---|---|
committer | mahesh | 2016-05-04 11:21:46 +0530 |
commit | 3833fa423daaf55e30c89d2cd3b02d5bf5f080f5 (patch) | |
tree | 6f05dab735bf650296f20733bdfe997293e18f07 | |
parent | 7b0764cc8e6e03fee849c9d72bada7abb4e109e9 (diff) | |
download | online_test-3833fa423daaf55e30c89d2cd3b02d5bf5f080f5.tar.gz online_test-3833fa423daaf55e30c89d2cd3b02d5bf5f080f5.tar.bz2 online_test-3833fa423daaf55e30c89d2cd3b02d5bf5f080f5.zip |
changed urls for gradeuser, user_data
-rw-r--r-- | yaksh/urls.py | 12 |
1 files 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<question_id>\d+)/$', views.add_question), url(r'^manage/addquiz/$', views.add_quiz), url(r'^manage/addquiz/(?P<quiz_id>\d+)/$', views.add_quiz), - url(r'^manage/gradeuser/$', views.show_all_users), - url(r'^manage/gradeuser/(?P<username>.*)/(?P<questionpaper_id>\d+)/$', - views.grade_user), - url(r'^manage/gradeuser/(?P<username>.*)/$', views.grade_user), + url(r'^manage/gradeuser/$', views.grade_user), + url(r'^manage/gradeuser/(?P<quiz_id>\d+)/$',views.grade_user), + url(r'^manage/gradeuser/(?P<quiz_id>\d+)/(?P<user_id>\d+)/$',views.grade_user), + url(r'^manage/gradeuser/(?P<quiz_id>\d+)/(?P<user_id>\d+)/(?P<attempt_number>\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<questionpaper_id>\d+)/$',\ views.show_all_questionpapers), url(r'^manage/monitor/(?P<questionpaper_id>\d+)/$', views.monitor), - url(r'^manage/user_data/(?P<username>.*)/(?P<questionpaper_id>\d+)/$', + url(r'^manage/user_data/(?P<user_id>\d+)/(?P<questionpaper_id>\d+)/$', views.user_data), - url(r'^manage/user_data/(?P<username>.*)/$', views.user_data), + url(r'^manage/user_data/(?P<user_id>\d+)/$', views.user_data), url(r'^manage/designquestionpaper/$', views.design_questionpaper), url(r'^manage/designquestionpaper/(?P<questionpaper_id>\d+)/$',\ views.design_questionpaper), |