Browse Source

Añado static a urls.py

politica
Celestino Rey 1 year ago
parent
commit
63350858a7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      JugarAlPadel/gestion_reservas/gestion_reservas/urls.py

+ 2
- 0
JugarAlPadel/gestion_reservas/gestion_reservas/urls.py View File

@ -32,3 +32,5 @@ urlpatterns = [
path("", TemplateView.as_view(template_name="index.html"), path("", TemplateView.as_view(template_name="index.html"),
name="principal"), # new name="principal"), # new
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

Loading…
Cancel
Save