Remove spurious real password from example localsettingserver.py file.

Add comment on how to use it.
This commit is contained in:
expoonserver 2014-06-26 02:35:37 +01:00
parent 042507cb91
commit 01d4efccdd

View File

@ -1,12 +1,16 @@
import sys import sys
sys.path.append("/home/expo/troggle") 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 = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'troggle', # Or path to database file if using sqlite3. 'NAME': 'troggle', # Or path to database file if using sqlite3.
'USER': 'undemocracy', # Not used with sqlite3. 'USER': 'expo', # Not used with sqlite3.
'PASSWORD': 'aiGohsh5', # Not used with sqlite3. 'PASSWORD': 'localpassword', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. 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. 'PORT': '', # Set to empty string for default. Not used with sqlite3.
} }