substitui valores por variáveis de ambiente

This commit is contained in:
2025-06-30 13:23:03 -04:00
parent 28b12c5ab9
commit 6e8e24caeb
2 changed files with 7 additions and 7 deletions

View File

@ -13,7 +13,7 @@ SECRET_KEY = env(
"DJANGO_SECRET_KEY",
)
# https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
ALLOWED_HOSTS = ["localhost", "0.0.0.0", "127.0.0.1", "192.168.235.234"] # noqa: S104
ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS")
# CACHES
# ------------------------------------------------------------------------------