Add S3 Storage...

This commit is contained in:
2026-04-28 21:19:32 +02:00
parent d8f6838f0c
commit 84d8a0e3b6
7 changed files with 86 additions and 4 deletions
+1 -1
View File
@@ -28,5 +28,5 @@ urlpatterns = [
path('api/', api.urls)
]
if settings.DEBUG:
if settings.DEBUG and not settings.S3_ENABLE:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)