Set ALLOWED_HOSTS in config.settings.local

This commit is contained in:
Nikita P. Shupeyko 2018-03-04 17:51:37 +03:00
parent 384f641ea5
commit 64f2541743

View File

@ -15,6 +15,13 @@ Local settings for {{cookiecutter.project_name}} project.
from .base import * # noqa
# SITE CONFIGURATION
# ------------------------------------------------------------------------------
ALLOWED_HOSTS = [
"localhost",
"0.0.0.0",
]
# DEBUG
# ------------------------------------------------------------------------------
DEBUG = env.bool('DJANGO_DEBUG', default=True)