Add ALLOWED_HOST in local settings sample file

thanks to @CristianCantoro for the patch
This commit is contained in:
Yohan Boniface 2013-08-31 17:00:08 +02:00
parent fdb9bd5e46
commit 4354ab090b

View file

@ -20,6 +20,14 @@ ADMINS = (
)
MANAGERS = ADMINS
# ALLOWED_HOST required by Django >= 1.5
# Should be set to your domain name, see:
# https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-ALLOWED_HOSTS
# Don't use "*" in production!
ALLOWED_HOSTS = [
'*',
]
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',