mirror of
https://github.com/zulip/zulip.git
synced 2025-11-22 15:31:20 +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"
|
S3_AVATAR_BUCKET="humbug-user-avatars-test"
|
||||||
|
|
||||||
MIXPANEL_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
MIXPANEL_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||||
|
LOCAL_DATABASE_PASSWORD="xxxxxxxxxxxx"
|
||||||
|
|
||||||
# Twitter API credentials
|
# Twitter API credentials
|
||||||
if STAGING_DEPLOYED or TESTING_DEPLOYED:
|
if STAGING_DEPLOYED or TESTING_DEPLOYED:
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ DATABASES = {"default": {
|
|||||||
|
|
||||||
if not DEPLOYED:
|
if not DEPLOYED:
|
||||||
DATABASES["default"].update({
|
DATABASES["default"].update({
|
||||||
'PASSWORD': 'xxxxxxxxxxxx',
|
'PASSWORD': LOCAL_DATABASE_PASSWORD,
|
||||||
'HOST': 'localhost',
|
'HOST': 'localhost',
|
||||||
'OPTIONS': {}
|
'OPTIONS': {}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user