Skip to content

Commit

Permalink
try with custom backend
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienReuiller committed Sep 3, 2024
1 parent 796ba24 commit 0f1982d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/settings/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

STORAGES = {
"default": {
"BACKEND": "storages.backends.s3.S3Storage",
# "BACKEND": "lemarche.utils.s3boto.S3BotoStorage",
# "BACKEND": "storages.backends.s3.S3Storage",
"BACKEND": "lemarche.utils.s3boto.S3BotoStorage",
"OPTIONS": {
"bucket_name": S3_STORAGE_BUCKET_NAME, # noqa
"access_key": S3_STORAGE_ACCESS_KEY_ID, # noqa
Expand Down Expand Up @@ -44,7 +44,6 @@
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"


# Sentry
Expand Down

0 comments on commit 0f1982d

Please sign in to comment.