forked from mirrors/bookwyrm
Get celery debug settings from env
This commit is contained in:
parent
827badac7c
commit
e559a93f71
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ CELERY_RESULT_BACKEND = 'redis'
|
|||
SECRET_KEY = '0a^0gpwjc1ap+lb$dinin=efc@e&_0%102$o3(>9e7lndiaw'
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
DEBUG = env.bool('DEBUG', True)
|
||||
|
||||
|
||||
ALLOWED_HOSTS = []
|
||||
|
||||
|
|
Loading…
Reference in a new issue