Get celery debug settings from env

This commit is contained in:
Mouse Reeve 2020-10-04 14:24:08 -07:00
parent 827badac7c
commit e559a93f71

View file

@ -40,7 +40,8 @@ CELERY_RESULT_BACKEND = 'redis'
SECRET_KEY = '0a^0gpwjc1ap+lb$dinin=efc@e&_0%102$o3(&gt9e7lndiaw' SECRET_KEY = '0a^0gpwjc1ap+lb$dinin=efc@e&_0%102$o3(&gt9e7lndiaw'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = env.bool('DEBUG', True)
ALLOWED_HOSTS = [] ALLOWED_HOSTS = []