Fix condition for DEBUG setting
This commit is contained in:
parent
943130fddd
commit
664e1617b0
|
@ -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(',')
|
||||
|
||||
|
|
Loading…
Reference in New Issue