summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2016-05-04 18:31:28 +0530
committerPrabhu Ramachandran2016-05-04 18:31:28 +0530
commit8841e5ed4f8f79b7067ddb3523f4a3ec50f362b3 (patch)
treea9db341f13abdf47f994d8823f233219561dbff2 /yaksh/urls.py
parent03f0aa839e4d91a3d83d68d5301f1425f18cca73 (diff)
parentf150f1c54ee5941d72f2e4057af8c90cca588292 (diff)
downloadonline_test-8841e5ed4f8f79b7067ddb3523f4a3ec50f362b3.tar.gz
online_test-8841e5ed4f8f79b7067ddb3523f4a3ec50f362b3.tar.bz2
online_test-8841e5ed4f8f79b7067ddb3523f4a3ec50f362b3.zip
Merge pull request #97 from maheshgudi/grade_user_2
Grade User
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py12
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),