|
|
@ -26,7 +26,7 @@ SECRET_KEY = getenv('SECRET_KEY', 'django-insecure-pdgzgd_!w&&cfqc%r&!v_^6pgf!sz
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
|
|
|
# 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(',')
|
|
|
|
ALLOWED_HOSTS = list(filter(lambda s: s != '', getenv('ALLOWED_HOSTS', '').split(',')))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Application definition
|
|
|
|
# Application definition
|
|
|
|