diff --git a/config/settings/prod.py b/config/settings/prod.py index 1fd992357..3d1b9f0ed 100644 --- a/config/settings/prod.py +++ b/config/settings/prod.py @@ -21,7 +21,8 @@ SECURE_SSL_REDIRECT = env.str("SECURE_SSL_REDIRECT", True) MEDIA_URL = f"https://{S3_STORAGE_ENDPOINT_DOMAIN}/" # noqa -DEFAULT_FILE_STORAGE = "lemarche.utils.s3boto.S3BotoStorage" + +STORAGES = {"default": {"BACKEND": "storages.backends.s3.S3Storage"}} # Sentry diff --git a/config/settings/staging.py b/config/settings/staging.py index 6e905d009..2b7d2e9c1 100644 --- a/config/settings/staging.py +++ b/config/settings/staging.py @@ -24,7 +24,8 @@ SECURE_SSL_REDIRECT = env.bool("SECURE_SSL_REDIRECT", True) MEDIA_URL = f"https://{S3_STORAGE_ENDPOINT_DOMAIN}/" # noqa -DEFAULT_FILE_STORAGE = "lemarche.utils.s3boto.S3BotoStorage" + +STORAGES = {"default": {"BACKEND": "storages.backends.s3.S3Storage"}} # Sentry