mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 08:14:13 +03:00
Set ALLOWED_HOSTS in config.settings.local
This commit is contained in:
parent
384f641ea5
commit
64f2541743
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user