Skip to content

Commit

Permalink
Merge pull request #1946 from dandi/bf-django-storage
Browse files Browse the repository at this point in the history
In 1.14.3 it became client_config and .config was announced deprecated
  • Loading branch information
yarikoptic authored May 24, 2024
2 parents 488fd02 + 0b34695 commit 288b854
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dandiapi/api/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class TimeoutS3Storage(S3Storage):
def __init__(self, **settings):
super().__init__(**settings)

self.config = self.config.merge(
self.client_config = self.client_config.merge(
Config(connect_timeout=5, read_timeout=5, retries={'max_attempts': 2})
)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
# Production-only
'django-composed-configuration[prod]>=0.23.0',
'django-s3-file-field[s3]>=1.0.0',
'django-storages[s3]>=1.14.2',
'django-storages[s3]>=1.14.3',
'gunicorn',
# Development-only, but required
'django-minio-storage',
Expand Down

0 comments on commit 288b854

Please sign in to comment.