diff options
author | ankitjavalkar | 2017-10-18 15:40:58 +0530 |
---|---|---|
committer | ankitjavalkar | 2017-10-25 12:54:53 +0530 |
commit | 90402ae9b0f2d4038099e9ea4e39f832063dd0dd (patch) | |
tree | af3b1d776ed2dc52d35654307589d6d611259fb2 /yaksh/urls.py | |
parent | 8939dfcefc151ba41c7cb0a2ed32effab9120b0e (diff) | |
download | online_test-90402ae9b0f2d4038099e9ea4e39f832063dd0dd.tar.gz online_test-90402ae9b0f2d4038099e9ea4e39f832063dd0dd.tar.bz2 online_test-90402ae9b0f2d4038099e9ea4e39f832063dd0dd.zip |
- Fix and add test cases
- Fix god-mode/user-mode url pattern
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r-- | yaksh/urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py index 2e25bee..4c5593a 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -100,7 +100,7 @@ urlpatterns = [ views.regrade, name='regrade'), url(r'^manage/regrade/paper/(?P<course_id>\d+)/(?P<answerpaper_id>\d+)/$', views.regrade, name='regrade'), - url(r'^manage/(?P<mode>[\w\-]+)/(?P<quiz_id>\d+)/$', views.test_quiz), + url(r'^manage/(?P<mode>godmode|usermode)/(?P<quiz_id>\d+)/$', views.test_quiz), url(r'^manage/create_demo_course/$', views.create_demo_course), url(r'^manage/courses/download_course_csv/(?P<course_id>\d+)/$', views.download_course_csv, name="download_course_csv"), |