Moved ALLOWED_HOSTS setting to base.

This commit is contained in:
Christopher Charbonneau Wells 2017-10-23 09:49:09 -04:00
parent d12405096b
commit 93066e32a1
2 changed files with 5 additions and 2 deletions

View File

@ -10,6 +10,11 @@ BASE_DIR = os.path.dirname(
)
# SECURITY WARNING: set this to your domain name in production!
ALLOWED_HOSTS = ['*']
# Applications
# https://docs.djangoproject.com/en/1.11/ref/applications/

View File

@ -5,12 +5,10 @@ from .base import *
SECRET_KEY = 'CHANGE ME'
DEBUG = True
INTERNAL_IPS = (
'0.0.0.0',
'127.0.0.1',
)
ALLOWED_HOSTS = ['*']
# Database