Add a DEBUG environment option to Heroku settings.

This commit is contained in:
Christopher Charbonneau Wells 2017-11-10 08:47:22 -05:00
parent 37ae4056ab
commit 3ae40027f4
1 changed files with 1 additions and 1 deletions

View File

@ -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!