Useful for debugging to allow localhost here.

This commit is contained in:
Ralph Bean 2016-01-12 12:37:23 -05:00
parent 478db62696
commit 2449cf6033

View file

@ -43,7 +43,11 @@ DEBUG = False
# NOTE: this is needed when DEGUB is False.
# https://docs.djangoproject.com/en/1.8/ref/settings/#allowed-hosts
ALLOWED_HOSTS = ['{{ inventory_hostname }}']
ALLOWED_HOSTS = [
'{{ inventory_hostname }}',
'{{ inventory_hostname_short }}',
'localhost',
]
# Database settings
DATABASES = {