summaryrefslogtreecommitdiff
path: root/testapp/exam/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/exam/urls.py')
-rw-r--r--testapp/exam/urls.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/testapp/exam/urls.py b/testapp/exam/urls.py
index e7284f2..ff1545a 100644
--- a/testapp/exam/urls.py
+++ b/testapp/exam/urls.py
@@ -3,13 +3,18 @@ from django.conf.urls.defaults import patterns, include, url
urlpatterns = patterns('exam.views',
url(r'^$', 'index'),
url(r'^login/$', 'user_login'),
+ url(r'^quizzes/$','quizlist_user'),
+ url(r'^results/$','results_user'),
url(r'^start/$', 'start'),
- url(r'^quit/$', 'quit'),
+ url(r'^start/(?P<questionpaper_id>\d+)/$','start'),
+ url(r'^quit/(?P<answerpaper_id>\d+)/$', 'quit'),
url(r'^intro/$','start'),
- url(r'^complete/$', 'complete'),
+ url(r'^complete/$', 'complete'),
+ url(r'^complete/(?P<answerpaper_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'^manage/$', 'prof_manage'),