Skip to content

Commit

Permalink
Allow to set DEBUG environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mfojtik committed Nov 19, 2013
1 parent 8519d91 commit 4c5c627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsgi/openshift/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

PROJECT_DIR = os.path.dirname(os.path.realpath(__file__))
if ON_OPENSHIFT:
DEBUG = False
DEBUG = bool(os.environ.get('DEBUG', False))
else:
DEBUG = True
TEMPLATE_DEBUG = DEBUG
Expand Down

0 comments on commit 4c5c627

Please sign in to comment.