Skip to content

Commit

Permalink
fix: replace deprecated bucket argument for recommended bucket_name (#…
Browse files Browse the repository at this point in the history
…107)

The S3Boto3Storage backend no longer accepts the argument bucket. Use
bucket_name or the setting AWS_STORAGE_BUCKET_NAME instead:
jschneier/django-storages#636
  • Loading branch information
mariajgrimaldi authored May 31, 2024
1 parent 7bd3266 commit f21d338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drydock/patches/openedx-common-settings
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def scorm_xblock_storage(xblock):
else:
domain = settings.CMS_BASE
return S3Boto3Storage(
bucket=AWS_STORAGE_BUCKET_NAME,
bucket_name=AWS_STORAGE_BUCKET_NAME,
access_key=AWS_ACCESS_KEY_ID,
secret_key=AWS_SECRET_ACCESS_KEY,
querystring_expire=86400,
Expand Down

0 comments on commit f21d338

Please sign in to comment.