From 1c94d6883e50e77397acb6a90259a1db51c94018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Mart=C3=ADn?= Date: Mon, 27 May 2013 16:29:04 +0200 Subject: [PATCH] Added ALLOWED_HOSTS variable to development settings if you wan't to text without debug = true --- config/development/local_settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/development/local_settings.py b/config/development/local_settings.py index c9ac9ac..b80b532 100644 --- a/config/development/local_settings.py +++ b/config/development/local_settings.py @@ -4,6 +4,11 @@ from settings import * DEBUG = True TEMPLATE_DEBUG = DEBUG +ALLOWED_HOSTS = [ + 'localhost', + '127.0.0.1' +] + DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3',