Skip to content

Commit b12bd55

Browse files
committed
🔧(back) add base aws storage for legacy medias
As part of our migration away from AWS, media files will be served from Scaleway S3 and Edge services using the Django Storage backend in place. Adding the base directory containing legacy media within the bucket.
1 parent 861f3aa commit b12bd55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/marsha/core/defaults.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@
177177
(SCW_S3, _("SCW")),
178178
)
179179

180+
AWS_STORAGE_BASE_DIRECTORY = "aws"
180181
TMP_STORAGE_BASE_DIRECTORY = "tmp"
181182
DELETED_STORAGE_BASE_DIRECTORY = "deleted"
182183
VOD_STORAGE_BASE_DIRECTORY = "vod"
@@ -186,6 +187,7 @@
186187
DOCUMENT_STORAGE_BASE_DIRECTORY = "document"
187188

188189
STORAGE_BASE_DIRECTORY = (
190+
(AWS_STORAGE_BASE_DIRECTORY, _("AWS")),
189191
(TMP_STORAGE_BASE_DIRECTORY, _("tmp")),
190192
(VOD_STORAGE_BASE_DIRECTORY, _("VOD")),
191193
(CLASSROOM_STORAGE_BASE_DIRECTORY, _("Classroom")),

0 commit comments

Comments
 (0)