From 76e013fd4efe5a5262243d4ac10445a1a5d4b1ad Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Mon, 28 Oct 2013 11:52:38 +0530 Subject: removed explicitly specified passwords for db & LDAP --- PythonTBC/settings.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'PythonTBC/settings.py') 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. } -- cgit