diff options
author | Prabhu Ramachandran | 2017-10-25 15:43:24 +0530 |
---|---|---|
committer | GitHub | 2017-10-25 15:43:24 +0530 |
commit | 07e5a3c831ad351d47de54db7179303be3506c10 (patch) | |
tree | 30a65b459b04ba8b5346fa32af601d12645ecf2e /yaksh/urls.py | |
parent | 4e7d09eae252c6d89d2fecfe18ffce46e4421eb0 (diff) | |
parent | 90402ae9b0f2d4038099e9ea4e39f832063dd0dd (diff) | |
download | online_test-07e5a3c831ad351d47de54db7179303be3506c10.tar.gz online_test-07e5a3c831ad351d47de54db7179303be3506c10.tar.bz2 online_test-07e5a3c831ad351d47de54db7179303be3506c10.zip |
Merge pull request #367 from ankitjavalkar/fix-revisit-with-one-q
Fix revisit with one question
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"), |