From 97dcdeae62774c914329e1af7f2e8f600707499b Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Mon, 13 Jan 2025 08:24:06 +0100 Subject: [PATCH] Cambio ruta a los staticfiles --- gestion_reservas/entornoPruebas.sh | 6 ------ gestion_reservas/gestion_reservas/settings.py | 3 ++- 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 gestion_reservas/entornoPruebas.sh diff --git a/gestion_reservas/entornoPruebas.sh b/gestion_reservas/entornoPruebas.sh deleted file mode 100644 index a75688f..0000000 --- a/gestion_reservas/entornoPruebas.sh +++ /dev/null @@ -1,6 +0,0 @@ -export CSRF_TRUSTED_ORIGINS="http://localhost" -export DEBUG="True" -export SECRET_KEY="hola" -export DJANGO_ALLOWED_HOSTS="vmcluster localhost" - - diff --git a/gestion_reservas/gestion_reservas/settings.py b/gestion_reservas/gestion_reservas/settings.py index 1f5c54e..83a2264 100644 --- a/gestion_reservas/gestion_reservas/settings.py +++ b/gestion_reservas/gestion_reservas/settings.py @@ -133,7 +133,8 @@ THOUSAND_SEPARATOR = '.' # https://docs.djangoproject.com/en/5.1/howto/static-files/ STATIC_URL = '/static/' -STATIC_ROOT = BASE_DIR / "staticfiles" +#STATIC_ROOT = BASE_DIR / "staticfiles" +STATIC_ROOT = BASE_DIR / "wsgi/static" # Default primary key field type # https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field