diff options
author | expoonserver <devnull@localhost> | 2014-06-26 02:35:37 +0100 |
---|---|---|
committer | expoonserver <devnull@localhost> | 2014-06-26 02:35:37 +0100 |
commit | 01d4efccdd59e603680525dc3a842b9dcfafec15 (patch) | |
tree | 133c6df665ee35574ef42593cf6c6226569896c2 | |
parent | 042507cb910e9c166e207301be4cca101eb4b902 (diff) | |
download | troggle-01d4efccdd59e603680525dc3a842b9dcfafec15.tar.gz troggle-01d4efccdd59e603680525dc3a842b9dcfafec15.tar.bz2 troggle-01d4efccdd59e603680525dc3a842b9dcfafec15.zip |
Remove spurious real password from example localsettingserver.py file.
Add comment on how to use it.
-rw-r--r-- | localsettingsserver.py | 8 |
1 files 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. } |