django 1.5 needs ALLOWED_HOSTS

This commit is contained in:
Thomas NOËL 2013-12-30 11:01:41 +01:00
parent 5d9257249c
commit 62b8b254e9
1 changed files with 5 additions and 2 deletions

View File

@ -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')