summaryrefslogtreecommitdiff
path: root/exam/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'exam/urls.py')
-rw-r--r--exam/urls.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/exam/urls.py b/exam/urls.py
new file mode 100644
index 0000000..7922255
--- /dev/null
+++ b/exam/urls.py
@@ -0,0 +1,9 @@
+from django.conf.urls.defaults import patterns, include, url
+
+urlpatterns = patterns('exam.views',
+ url(r'^$', 'index'),
+ url(r'^start/$', 'start'),
+ url(r'^complete/$', 'complete'),
+ url(r'^(?P<q_id>\d+)/$', 'question'),
+ url(r'^(?P<q_id>\d+)/check/$', 'check'),
+)