diff --git a/CHANGELOG.md b/CHANGELOG.md index a0b332e8..7fe663e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed + +- Upgrade to django-storages 1.9.1 + ### Fixed - With the django storages S3 backend, `MEDIA_URL` should not start with a "/" diff --git a/requirements/base.txt b/requirements/base.txt index 1089a146..c9b15712 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -3,7 +3,7 @@ Django<3 django-configurations==2.2 # Superior versions of django-storages are not compatible with # ManifestStaticFilesStorage -django-storages==1.8 +django-storages==1.9.1 dockerflow==2019.10.0 gunicorn==20.0.4 psycopg2-binary==2.8.5 diff --git a/src/backend/funmooc/settings.py b/src/backend/funmooc/settings.py index ddfde5da..ce10962b 100644 --- a/src/backend/funmooc/settings.py +++ b/src/backend/funmooc/settings.py @@ -469,6 +469,7 @@ class Production(Base): X_FRAME_OPTIONS = "SAMEORIGIN" DEFAULT_FILE_STORAGE = "funmooc.storage.MediaStorage" + AWS_DEFAULT_ACL = None MEDIA_URL = "media/" # For static files in production, we want to use a backend that includes a hash in