Browse Source

Update DEBUG variable

pull/10/head
Hironsan 6 years ago
parent
commit
19f8f51234
1 changed files with 3 additions and 1 deletions
  1. 4
      app/app/settings.py

4
app/app/settings.py

@ -26,7 +26,9 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = 'v8sk33sy82!uw3ty=!jjv5vp7=s2phrzw(m(hrn^f7e_#1h2al'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
# DEBUG = True
DEBUG = bool(os.environ.get('DEBUG', True))
# ALLOWED_HOSTS = []

Loading…
Cancel
Save