From 63350858a75fbcf0b3bb72a58dd8728f51767104 Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Wed, 2 Oct 2024 08:37:10 +0200 Subject: [PATCH] =?UTF-8?q?A=C3=B1ado=20static=20a=20urls.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JugarAlPadel/gestion_reservas/gestion_reservas/urls.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/JugarAlPadel/gestion_reservas/gestion_reservas/urls.py b/JugarAlPadel/gestion_reservas/gestion_reservas/urls.py index 7d1aa9c..b013c8c 100644 --- a/JugarAlPadel/gestion_reservas/gestion_reservas/urls.py +++ b/JugarAlPadel/gestion_reservas/gestion_reservas/urls.py @@ -32,3 +32,5 @@ urlpatterns = [ path("", TemplateView.as_view(template_name="index.html"), name="principal"), # new ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) + +urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)