depot/web/quotes/quotesapp/prod_settings.py

28 lines
523 B
Python

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",
],
},
}