summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-08 02:10:03 +0530
committerPrabhu Ramachandran2011-11-08 02:10:03 +0530
commitec738bb79132a581a1778187a55632983d1fcb53 (patch)
treed9491ee26367bb504143f5b5bd3a392160c2dbbb /urls.py
downloadonline_test-ec738bb79132a581a1778187a55632983d1fcb53.tar.gz
online_test-ec738bb79132a581a1778187a55632983d1fcb53.tar.bz2
online_test-ec738bb79132a581a1778187a55632983d1fcb53.zip
NEW: First cut of exam app.
This application allows us to create questions via the admin interface. The questions are proper programming questions and one enters test cases for each question. The user logs in and submits the answer which is checked. The app is rather simple now but does work.
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/urls.py b/urls.py
new file mode 100644
index 0000000..f55309a
--- /dev/null
+++ b/urls.py
@@ -0,0 +1,14 @@
+from django.conf.urls.defaults import patterns, include, url
+
+# Uncomment the next two lines to enable the admin:
+from django.contrib import admin
+admin.autodiscover()
+
+urlpatterns = patterns('',
+ url(r'^exam/', include('exam.urls')),
+
+ # Uncomment the admin/doc line below to enable admin documentation:
+ # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
+ # Uncomment the next line to enable the admin:
+ url(r'^admin/', include(admin.site.urls)),
+)