diff options
author | prathamesh | 2014-06-06 13:07:31 +0530 |
---|---|---|
committer | prathamesh | 2014-06-06 13:07:31 +0530 |
commit | c5115d98867504076daacc093d09489033c6a584 (patch) | |
tree | cfa4eeaf56999c16a5b204601b6de3874425ff17 | |
parent | c4c00dfd3548e2dda9c0fda62cb86fb2237aca10 (diff) | |
download | online_test-c5115d98867504076daacc093d09489033c6a584.tar.gz online_test-c5115d98867504076daacc093d09489033c6a584.tar.bz2 online_test-c5115d98867504076daacc093d09489033c6a584.zip |
minor change in settings.py
-rw-r--r-- | testapp/settings.py | 15 |
1 files changed, 7 insertions, 8 deletions
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'), |