diff options
author | hardythe1 | 2012-04-18 01:56:51 +0530 |
---|---|---|
committer | hardythe1 | 2012-04-18 01:56:51 +0530 |
commit | 6c0d75e784b87ed05e4c138110f987e88a37701b (patch) | |
tree | 6673608e0513a37b1766dedbad109fc4f73530ff /testapp/exam/urls.py | |
parent | 9d0a737afdb23a50b28237055c87bfa72197d99b (diff) | |
download | online_test-6c0d75e784b87ed05e4c138110f987e88a37701b.tar.gz online_test-6c0d75e784b87ed05e4c138110f987e88a37701b.tar.bz2 online_test-6c0d75e784b87ed05e4c138110f987e88a37701b.zip |
changes for student interface
Diffstat (limited to 'testapp/exam/urls.py')
-rw-r--r-- | testapp/exam/urls.py | 9 |
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'), |