diff options
author | Prabhu Ramachandran | 2016-10-11 01:12:46 +0530 |
---|---|---|
committer | GitHub | 2016-10-11 01:12:46 +0530 |
commit | 9b60cc7b8f000f96d5f818f759a6c63d5a26f239 (patch) | |
tree | baa04b7a091bcb46750076dcfd7ffe5a6ff29c03 /yaksh/urls.py | |
parent | 91dd42214ba5ad88c5158b50a7746caa3841a883 (diff) | |
parent | 2ee45f6f04711c745e533abeef6b5ca55d7b4ec3 (diff) | |
download | online_test-9b60cc7b8f000f96d5f818f759a6c63d5a26f239.tar.gz online_test-9b60cc7b8f000f96d5f818f759a6c63d5a26f239.tar.bz2 online_test-9b60cc7b8f000f96d5f818f759a6c63d5a26f239.zip |
Merge pull request #146 from prathamesh920/edit_questionpaper
Edit questionpaper
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r-- | yaksh/urls.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py index c4619b6..bb8cf2e 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -68,9 +68,10 @@ urlpatterns += [ url(r'^manage/user_data/(?P<user_id>\d+)/(?P<questionpaper_id>\d+)/$', views.user_data), url(r'^manage/user_data/(?P<user_id>\d+)/$', views.user_data), - url(r'^manage/designquestionpaper/$', views.design_questionpaper, name='design_questionpaper'), - url(r'^manage/designquestionpaper/(?P<questionpaper_id>\d+)/$',\ - views.design_questionpaper), + url(r'^manage/quiz/designquestionpaper/(?P<quiz_id>\d+)/$', views.design_questionpaper, + name='design_questionpaper'), + url(r'^manage/designquestionpaper/(?P<quiz_id>\d+)/(?P<questionpaper_id>\d+)/$', + views.design_questionpaper, name='designquestionpaper'), url(r'^manage/statistics/question/(?P<questionpaper_id>\d+)/$', views.show_statistics), url(r'^manage/statistics/question/(?P<questionpaper_id>\d+)/(?P<attempt_number>\d+)/$', @@ -87,7 +88,6 @@ urlpatterns += [ url(r'manage/enrolled/reject/(?P<course_id>\d+)/(?P<user_id>\d+)/$', views.reject, {'was_enrolled': True}), url(r'manage/toggle_status/(?P<course_id>\d+)/$', views.toggle_course_status), - url(r'^ajax/questionpaper/(?P<query>.+)/$', views.ajax_questionpaper), url(r'^ajax/questions/filter/$', views.ajax_questions_filter), url(r'^editprofile/$', views.edit_profile, name='edit_profile'), url(r'^viewprofile/$', views.view_profile, name='view_profile'), |