mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-12 17:12:25 +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
|
from .base import * # noqa
|
||||||
|
|
||||||
|
# SITE CONFIGURATION
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
ALLOWED_HOSTS = [
|
||||||
|
"localhost",
|
||||||
|
"0.0.0.0",
|
||||||
|
]
|
||||||
|
|
||||||
# DEBUG
|
# DEBUG
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
DEBUG = env.bool('DJANGO_DEBUG', default=True)
|
DEBUG = env.bool('DJANGO_DEBUG', default=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user