From c5115d98867504076daacc093d09489033c6a584 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Fri, 6 Jun 2014 13:07:31 +0530 Subject: minor change in settings.py --- testapp/settings.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'testapp') diff --git a/testapp/settings.py b/testapp/settings.py index 543c0e3..cc84095 100644 --- a/testapp/settings.py +++ b/testapp/settings.py @@ -5,14 +5,6 @@ from os.path import dirname, join, basename, abspath DEBUG = True TEMPLATE_DEBUG = DEBUG -# Authentication using other database table. -# Comment the line below if you want the authentication to be done -# using django user table. -#AUTHENTICATION_BACKENDS = ('myauthentication.backend.MyBackend',) - -# Router for database -#DATABASE_ROUTERS = ['myauthentication.router.MyDatabaseRouter',] - # The ports the code server should run on. This will run one separate # server for each port listed in the following list. SERVER_PORTS = [8001] # range(8001, 8026) @@ -31,6 +23,13 @@ SERVER_TIMEOUT = 2 # host.org/foo/exam set URL_ROOT='/foo' URL_ROOT = '' +# Authentication using other database table. +# Comment the line below if you want the authentication to be done +# using django user table. +#AUTHENTICATION_BACKENDS = ('myauthentication.backend.MyBackend',) + +# Router for database +#DATABASE_ROUTERS = ['myauthentication.router.MyDatabaseRouter',] ADMINS = ( # ('Your Name', 'your_email@example.com'), -- cgit