Add S3 Storage...
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user