From 4354ab090ba3e8c959c6250a0a5aaccefcaf0ec9 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Sat, 31 Aug 2013 17:00:08 +0200 Subject: [PATCH] Add ALLOWED_HOST in local settings sample file thanks to @CristianCantoro for the patch --- umap/settings/local.py.sample | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/umap/settings/local.py.sample b/umap/settings/local.py.sample index f0b450a8..43cbe00b 100644 --- a/umap/settings/local.py.sample +++ b/umap/settings/local.py.sample @@ -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',