salvare fisiere pdf

This commit is contained in:
2026-09-21 15:15:35 +03:00
parent 61747c9003
commit 47a2a23acb
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -26,6 +26,7 @@ services:
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/app
- ./media:/app/media
ports:
- "8000:8000"
environment:
+1
View File
@@ -31,6 +31,7 @@ urlpatterns = [
# Poți seta temporar echipamentele ca pagină de start dacă dorești,
# până vom construi Dashboard-ul
path("", include("equipment.urls")),
re_path(r"^media/(?P<path>.*)$", serve, {"document_root": settings.MEDIA_ROOT}),
]
if settings.DEBUG: