From 01d4efccdd59e603680525dc3a842b9dcfafec15 Mon Sep 17 00:00:00 2001 From: expoonserver Date: Thu, 26 Jun 2014 02:35:37 +0100 Subject: [PATCH] Remove spurious real password from example localsettingserver.py file. Add comment on how to use it. --- localsettingsserver.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/localsettingsserver.py b/localsettingsserver.py index 949da3c..f60decb 100644 --- a/localsettingsserver.py +++ b/localsettingsserver.py @@ -1,12 +1,16 @@ import sys sys.path.append("/home/expo/troggle") +# This is an example file. Copy it to localsettings.py, set the +# password and _don't_ check that file back to the repo as it exposes +# your/our password to the world! + DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': 'troggle', # Or path to database file if using sqlite3. - 'USER': 'undemocracy', # Not used with sqlite3. - 'PASSWORD': 'aiGohsh5', # Not used with sqlite3. + 'USER': 'expo', # Not used with sqlite3. + 'PASSWORD': 'localpassword', # 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. }