diff options
author | prathamesh | 2014-06-06 13:18:33 +0530 |
---|---|---|
committer | prathamesh | 2014-06-06 13:18:33 +0530 |
commit | 7d0753f2e0f590ed4376fdb5f8abaace7c4cfc19 (patch) | |
tree | 6cd9a54277bb7f968c1ab67cf6627802515ec972 /testapp/settings.py | |
parent | 8b5d13df2a8f4ac3acc075c522128722b987e57b (diff) | |
parent | c5115d98867504076daacc093d09489033c6a584 (diff) | |
download | online_test-7d0753f2e0f590ed4376fdb5f8abaace7c4cfc19.tar.gz online_test-7d0753f2e0f590ed4376fdb5f8abaace7c4cfc19.tar.bz2 online_test-7d0753f2e0f590ed4376fdb5f8abaace7c4cfc19.zip |
Merge branch 'spoken_tutorial'
Diffstat (limited to 'testapp/settings.py')
-rw-r--r-- | testapp/settings.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testapp/settings.py b/testapp/settings.py index 6015f0c..1d1b07d 100644 --- a/testapp/settings.py +++ b/testapp/settings.py @@ -23,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'), @@ -41,6 +48,14 @@ DATABASES = { 'PASSWORD': '', # Not used with sqlite3. 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. 'PORT': '', # Set to empty string for default. Not used with sqlite3. + }, + 'spoken' : { + 'ENGINE' : 'django.db.backends.mysql', + 'NAME' : 'YOUR DATABASE', + 'USER' : 'YOUR USERNAME', + 'PASSWORD': 'YOUR PASSWORD', + 'HOST' :'', + 'PORT' :'', } } |