mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 07:11:52 +00:00
Remove spurious real password from example localsettingserver.py file.
Add comment on how to use it.
This commit is contained in:
parent
b1d6e1c3d5
commit
9f69bb5fca
@ -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.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user