Browse Source

actualizar urlpatterns si no debug

main
creylopez 10 months ago
parent
commit
2c8bbd1eaa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      gestion_reservas/gestion_reservas/urls.py

+ 1
- 1
gestion_reservas/gestion_reservas/urls.py View File

@ -40,7 +40,7 @@ urlpatterns = [
]
if settings.DEBUG:
if !settings.DEBUG:
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

Loading…
Cancel
Save