diff options
author | hardythe1 | 2013-10-28 11:52:38 +0530 |
---|---|---|
committer | hardythe1 | 2013-10-28 11:52:38 +0530 |
commit | 76e013fd4efe5a5262243d4ac10445a1a5d4b1ad (patch) | |
tree | bf96a9ecde01f92e4cb111675ac40296070e7a2d /PythonTBC/settings.py | |
parent | e65878817e29de1e310b3e0f76eca7789c84a327 (diff) | |
download | Python-TBC-Interface-76e013fd4efe5a5262243d4ac10445a1a5d4b1ad.tar.gz Python-TBC-Interface-76e013fd4efe5a5262243d4ac10445a1a5d4b1ad.tar.bz2 Python-TBC-Interface-76e013fd4efe5a5262243d4ac10445a1a5d4b1ad.zip |
removed explicitly specified passwords for db & LDAP
Diffstat (limited to 'PythonTBC/settings.py')
-rw-r--r-- | PythonTBC/settings.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/PythonTBC/settings.py b/PythonTBC/settings.py index 243adf0..7329074 100644 --- a/PythonTBC/settings.py +++ b/PythonTBC/settings.py @@ -1,23 +1,26 @@ # Django settings for PythonTBC project. from os.path import * +from tbc.local import * DEBUG = True TEMPLATE_DEBUG = DEBUG + ADMINS = ( ('Hardik Ghaghada', 'hardik@fossee.in'), ) MANAGERS = ADMINS PROJDIR = abspath(dirname(__file__)) +DATABASE_PASSWORD = DB_PASS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': 'pythontbc', # Or path to database file if using sqlite3. # The following settings are not used with sqlite3: 'USER': 'root', - 'PASSWORD': 'Pyth0n321', + 'PASSWORD': DATABASE_PASSWORD, 'HOST': '', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP. 'PORT': '', # Set to empty string for default. } |