Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Unreleased

* [Chore] Replace deprecated setting `DEFAULT_FILE_STORAGE` with `STORAGES['default']['BACKEND']`

## Version 2.3.1 (2025-08-01)

* [Fix] Add the missing import statement for `botocore.client import Config`.
Expand Down
6 changes: 3 additions & 3 deletions tutors3/patches/openedx-cms-common-settings
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
COURSE_IMPORT_EXPORT_STORAGE = DEFAULT_FILE_STORAGE
COURSE_METADATA_EXPORT_STORAGE = DEFAULT_FILE_STORAGE
USER_TASKS_ARTIFACT_STORAGE = DEFAULT_FILE_STORAGE
COURSE_IMPORT_EXPORT_STORAGE = STORAGES['default']['BACKEND']
COURSE_METADATA_EXPORT_STORAGE = STORAGES['default']['BACKEND']
USER_TASKS_ARTIFACT_STORAGE = STORAGES['default']['BACKEND']
2 changes: 1 addition & 1 deletion tutors3/patches/openedx-common-settings
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DEFAULT_FILE_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
STORAGES['default']['BACKEND'] = "storages.backends.s3boto3.S3Boto3Storage"
VIDEO_IMAGE_SETTINGS["STORAGE_KWARGS"]["location"] = VIDEO_IMAGE_SETTINGS["STORAGE_KWARGS"]["location"].lstrip("/")
VIDEO_TRANSCRIPTS_SETTINGS["STORAGE_KWARGS"]["location"] = VIDEO_TRANSCRIPTS_SETTINGS["STORAGE_KWARGS"]["location"].lstrip("/")
GRADES_DOWNLOAD["STORAGE_KWARGS"] = {"location": GRADES_DOWNLOAD["STORAGE_KWARGS"]["location"].lstrip("/")}
Expand Down
2 changes: 1 addition & 1 deletion tutors3/patches/openedx-lms-common-settings
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% if S3_PROFILE_IMAGE_BUCKET %}
PROFILE_IMAGE_BACKEND = {
"class": DEFAULT_FILE_STORAGE,
"class": STORAGES['default']['BACKEND'],
"options": {
"bucket_name": "{{ S3_PROFILE_IMAGE_BUCKET }}",
"location": PROFILE_IMAGE_BACKEND["options"]["location"].lstrip("/"),
Expand Down