Skip to content

Commit

Permalink
fix(deps): Update django-storage config
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Aug 27, 2024
1 parent 5f2aa1f commit ff84930
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion config/settings/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff84930

Please sign in to comment.