From 62b8b254e9cab0e12ac3ba01eaebb553f20b4499 Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Mon, 30 Dec 2013 11:01:41 +0100 Subject: [PATCH] django 1.5 needs ALLOWED_HOSTS --- virtualenv/pffedportal/settings.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/virtualenv/pffedportal/settings.py b/virtualenv/pffedportal/settings.py index d92efbc..fae955e 100644 --- a/virtualenv/pffedportal/settings.py +++ b/virtualenv/pffedportal/settings.py @@ -1,7 +1,6 @@ # -*- encoding: utf-8 -*- -# Django settings for pffedportal project. -# if you wanna override them, use ./local_settings.py +# Django settings for pffedportal project DEBUG = False LOG_DEBUG = False @@ -18,6 +17,10 @@ ADMINS = ( # ('Your Name', 'your_email@domain.com'), ) +# Hosts/domain names that are valid for this site; required if DEBUG is False +# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts +ALLOWED_HOSTS = ['*'] + MANAGERS = ADMINS _DATABASE_NAME = os.path.join(_PROJECT_PATH, 'pffedportal.db')