From f003137cd8e089e462c87d6142113a15e82fb5f9 Mon Sep 17 00:00:00 2001 From: juanjo <130799031+juanminguezsanz2023@users.noreply.github.com> Date: Sat, 11 Apr 2026 19:11:54 +0200 Subject: [PATCH] Update settings.py --- core/settings.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/settings.py b/core/settings.py index 7bd15e9..fb4f363 100644 --- a/core/settings.py +++ b/core/settings.py @@ -11,7 +11,14 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = os.getenv('SECRET_KEY', 'django-insecure-change-me-for-production') DEBUG = os.getenv('DEBUG', 'True').lower() == 'true' -ALLOWED_HOSTS = ['localhost', '127.0.0.1'] +ALLOWED_HOSTS = [ + 'v-encore-lab.com', + 'dev.v-encore-lab.com', + 'localhost', + '127.0.0.1', + 'django_app_dev', # Para que Nginx se hable con él por nombre + 'django_app_master' +] INSTALLED_APPS = [ 'django.contrib.admin',