depot/web/quotes/quotesapp/prod_settings.py

29 lines
523 B
Python
Raw Permalink Normal View History

2021-01-19 23:43:43 +00:00
from quotes.quotesapp.settings import *
SECRET_KEY = os.environ["SECRET_KEY"]
DEBUG = False
ALLOWED_HOSTS = [
"quotes.bfob.gg",
]
DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql",
"NAME": "quotesdb",
}
}
SOCIALACCOUNT_PROVIDERS = {
"discord": {
"APP": {
"client_id": os.environ["DISCORD_CLIENT_ID"],
"secret": os.environ["DISCORD_SECRET"],
},
"SCOPE": [
"identify",
"email",
],
},
}