mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
Move passwords for our localhost databases to local_settings.py.
(imported from commit 5f6dacdfdfd64fadc2995b393d7c59be0b049d79)
This commit is contained in:
@@ -59,6 +59,7 @@ else:
|
||||
S3_AVATAR_BUCKET="humbug-user-avatars-test"
|
||||
|
||||
MIXPANEL_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||
LOCAL_DATABASE_PASSWORD="xxxxxxxxxxxx"
|
||||
|
||||
# Twitter API credentials
|
||||
if STAGING_DEPLOYED or TESTING_DEPLOYED:
|
||||
|
||||
@@ -55,7 +55,7 @@ DATABASES = {"default": {
|
||||
|
||||
if not DEPLOYED:
|
||||
DATABASES["default"].update({
|
||||
'PASSWORD': 'xxxxxxxxxxxx',
|
||||
'PASSWORD': LOCAL_DATABASE_PASSWORD,
|
||||
'HOST': 'localhost',
|
||||
'OPTIONS': {}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user