From 9f69bb5fcacacadf31a082dac7a0ce16d82a986f Mon Sep 17 00:00:00 2001 From: expoonserver Date: Thu, 26 Jun 2014 02:35:37 +0100 Subject: 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(-) (limited to 'localsettingsserver.py') 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. } -- cgit v1.2.3