changing default allowed_hosts in local.py

This commit is contained in:
rgcr 2017-01-06 12:17:10 -06:00
parent 8904bb6541
commit ee347d9eb0

View File

@ -30,8 +30,8 @@ SECRET_KEY = env('DJANGO_SECRET_KEY', default='CHANGEME!!!')
# SITE CONFIGURATION # SITE CONFIGURATION
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Hosts/domain names that are valid for this site # Hosts/domain names that are valid for this site
# See https://docs.djangoproject.com/en/1.6/ref/settings/#allowed-hosts # See https://docs.djangoproject.com/en/1.10/ref/settings/#allowed-hosts
ALLOWED_HOSTS=env.list('DJANGO_ALLOWED_HOSTS', default=['*']) ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS', default=[])
# Mail settings # Mail settings
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------