Created
April 4, 2019 21:10
-
-
Save alexryabtsev/b3660bf6112215f9bb93e0f8c0ce0826 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALLOWED_HOSTS = ['example.com'] | |
DEBUG = False | |
DATABASES = { | |
'default': { | |
'ENGINE': 'django.db.backends.postgresql', | |
'NAME': 'production_db', | |
'USER': 'user', | |
'PASSWORD': 'password', | |
'HOST': 'db.example.com', | |
'PORT': '5432', | |
'OPTIONS': { | |
'sslmode': 'require' | |
} | |
} | |
} | |
... | |
from .settings_local import * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment