From 3ae40027f42f6228489d2bbc5c2da53c7df8387a Mon Sep 17 00:00:00 2001 From: Christopher Charbonneau Wells Date: Fri, 10 Nov 2017 08:47:22 -0500 Subject: [PATCH] Add a DEBUG environment option to Heroku settings. --- babybuddy/settings/heroku.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babybuddy/settings/heroku.py b/babybuddy/settings/heroku.py index 60b7d198..bad2bd8e 100644 --- a/babybuddy/settings/heroku.py +++ b/babybuddy/settings/heroku.py @@ -5,7 +5,7 @@ import dj_database_url from .base import * # noqa: F401,F403 -DEBUG = False +DEBUG = os.environ.get('DEBUG', False) # SECURITY WARNING: keep the secret key used in production secret!