Add ALLOWED_HOST in local settings sample file
thanks to @CristianCantoro for the patch
This commit is contained in:
parent
fdb9bd5e46
commit
4354ab090b
1 changed files with 8 additions and 0 deletions
|
@ -20,6 +20,14 @@ ADMINS = (
|
||||||
)
|
)
|
||||||
MANAGERS = 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 = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.contrib.gis.db.backends.postgis',
|
'ENGINE': 'django.contrib.gis.db.backends.postgis',
|
||||||
|
|
Loading…
Reference in a new issue