summaryrefslogtreecommitdiff
path: root/exam/urls.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-09 03:05:03 +0530
committerPrabhu Ramachandran2011-11-09 03:05:03 +0530
commit6cf7eb9f1a69f596ea0dcc418c1b90d3fb8ec513 (patch)
treede2f47ad2dd6d7f7f1d26ecb33e3f210a96371cc /exam/urls.py
parent4694d217dd7d5659afdad7ba5937adb85c15371c (diff)
downloadonline_test-6cf7eb9f1a69f596ea0dcc418c1b90d3fb8ec513.tar.gz
online_test-6cf7eb9f1a69f596ea0dcc418c1b90d3fb8ec513.tar.bz2
online_test-6cf7eb9f1a69f596ea0dcc418c1b90d3fb8ec513.zip
ENH: Saving answers and added quit page/button.
Cleaned up the models so the answers submitted are all saved. Also added a quit button to each question page so a user can easily quit the exam in order that another may start.
Diffstat (limited to 'exam/urls.py')
-rw-r--r--exam/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/exam/urls.py b/exam/urls.py
index 7922255..cfb4764 100644
--- a/exam/urls.py
+++ b/exam/urls.py
@@ -3,6 +3,7 @@ from django.conf.urls.defaults import patterns, include, url
urlpatterns = patterns('exam.views',
url(r'^$', 'index'),
url(r'^start/$', 'start'),
+ url(r'^quit/$', 'quit'),
url(r'^complete/$', 'complete'),
url(r'^(?P<q_id>\d+)/$', 'question'),
url(r'^(?P<q_id>\d+)/check/$', 'check'),