summaryrefslogtreecommitdiff
path: root/testapp/exam/urls.py
diff options
context:
space:
mode:
authorprathamesh2014-09-23 14:52:02 +0530
committerprathamesh2014-09-23 14:52:02 +0530
commite54137886164b2ef5ff03c24f301d7ddd80cca04 (patch)
treec26d39df18fc67ef617187994ba15ef931b2c9c0 /testapp/exam/urls.py
parent740b0acfe6436cf2919b6da655f379ca6c7faaf4 (diff)
parent0808861705c08aede6c0dc9e07ac891911a7bbfb (diff)
downloadonline_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.py8
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'),