summaryrefslogtreecommitdiff
path: root/testapp/exam
diff options
context:
space:
mode:
authorprathamesh2014-03-26 14:48:45 +0530
committerprathamesh2014-03-26 14:48:45 +0530
commitba50e500a1da9266f9bee5bc38b69635637f6129 (patch)
tree4836211b8109824d9f8912e80f83be1e6f857ce0 /testapp/exam
parentb2a95b4f99debc4d165bb0122b03b8e67f26b669 (diff)
downloadonline_test-ba50e500a1da9266f9bee5bc38b69635637f6129.tar.gz
online_test-ba50e500a1da9266f9bee5bc38b69635637f6129.tar.bz2
online_test-ba50e500a1da9266f9bee5bc38b69635637f6129.zip
User authentication using external database.
Django authentication backend overriden to authenticate user using spoken tutorial database. Added database router to handle the database operations.
Diffstat (limited to 'testapp/exam')
-rw-r--r--testapp/exam/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testapp/exam/urls.py b/testapp/exam/urls.py
index 33b2edf..afeda68 100644
--- a/testapp/exam/urls.py
+++ b/testapp/exam/urls.py
@@ -11,7 +11,7 @@ urlpatterns = patterns('exam.views',
url(r'^intro/(?P<questionpaper_id>\d+)/$','intro'),
url(r'^complete/$', 'complete'),
url(r'^complete/(?P<questionpaper_id>\d+)/$', 'complete'),
- url(r'^register/$', 'user_register'),
+ #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'),