diff options
author | prathamesh | 2014-09-23 14:52:02 +0530 |
---|---|---|
committer | prathamesh | 2014-09-23 14:52:02 +0530 |
commit | e54137886164b2ef5ff03c24f301d7ddd80cca04 (patch) | |
tree | c26d39df18fc67ef617187994ba15ef931b2c9c0 /testapp/exam/urls.py | |
parent | 740b0acfe6436cf2919b6da655f379ca6c7faaf4 (diff) | |
parent | 0808861705c08aede6c0dc9e07ac891911a7bbfb (diff) | |
download | online_test-e54137886164b2ef5ff03c24f301d7ddd80cca04.tar.gz online_test-e54137886164b2ef5ff03c24f301d7ddd80cca04.tar.bz2 online_test-e54137886164b2ef5ff03c24f301d7ddd80cca04.zip |
Merge branch 'models_modification' into HEAD
Diffstat (limited to 'testapp/exam/urls.py')
-rw-r--r-- | testapp/exam/urls.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testapp/exam/urls.py b/testapp/exam/urls.py index f8a6cb8..d71329c 100644 --- a/testapp/exam/urls.py +++ b/testapp/exam/urls.py @@ -6,15 +6,15 @@ urlpatterns = patterns('testapp.exam.views', url(r'^quizzes/$','quizlist_user'), url(r'^results/$','results_user'), url(r'^start/$', 'start'), - url(r'^start/(?P<questionpaper_id>\d+)/$','start'), - url(r'^quit/(?P<questionpaper_id>\d+)/$', 'quit'), + url(r'^start/(?P<attempt_no>\d+)/(?P<questionpaper_id>\d+)/$','start'), + url(r'^quit/(?P<attempt_no>\d+)/(?P<questionpaper_id>\d+)/$', 'quit'), url(r'^intro/(?P<questionpaper_id>\d+)/$','intro'), url(r'^complete/$', 'complete'), - url(r'^complete/(?P<questionpaper_id>\d+)/$', 'complete'), + url(r'^complete/(?P<attempt_no>\d+)/(?P<questionpaper_id>\d+)/$', 'complete'), url(r'^register/$', 'user_register'), url(r'^(?P<q_id>\d+)/$', 'question'), url(r'^(?P<q_id>\d+)/check/$', 'check'), - url(r'^(?P<q_id>\d+)/check/(?P<questionpaper_id>\d+)/$', 'check'), + url(r'^(?P<q_id>\d+)/check/(?P<attempt_no>\d+)/(?P<questionpaper_id>\d+)/$', 'check'), url(r'^intro/$', 'start'), url(r'^manage/$', 'prof_manage'), |