diff --git a/shiftregister/settings.py b/shiftregister/settings.py index 02436bd..788abcc 100644 --- a/shiftregister/settings.py +++ b/shiftregister/settings.py @@ -24,7 +24,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = getenv('SECRET_KEY', 'django-insecure-pdgzgd_!w&&cfqc%r&!v_^6pgf!sza=2wim67()!(kaf7_6-5)') # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = getenv('ENVIRONMENT', 'development') == 'production' +DEBUG = getenv('ENVIRONMENT', 'development') != 'production' ALLOWED_HOSTS = getenv('ALLOWED_HOSTS', '').split(',')