From e559a93f71c26f972055d0429054dfdbedd726b6 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sun, 4 Oct 2020 14:24:08 -0700 Subject: [PATCH] Get celery debug settings from env --- celerywyrm/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/celerywyrm/settings.py b/celerywyrm/settings.py index 12688e060..c27072c2a 100644 --- a/celerywyrm/settings.py +++ b/celerywyrm/settings.py @@ -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 = []