Skip to content

Commit

Permalink
default S3 backend ENDPOINT_URL option to None not an empty string, r…
Browse files Browse the repository at this point in the history
…esolves #93, related to #92
  • Loading branch information
meeb committed Aug 23, 2024
1 parent dd1939f commit d163705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_distill/backends/amazon_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def account_container(self):
def authenticate(self, calling_format=None):
access_key_id = self.account_username()
secret_access_key = self.options.get('SECRET_ACCESS_KEY', '')
endpoint_url = self.options.get('ENDPOINT_URL', '')
endpoint_url = self.options.get('ENDPOINT_URL', None)
bucket = self.account_container()
if access_key_id and secret_access_key:
self.d['connection'] = boto3.client('s3', aws_access_key_id=access_key_id,
Expand Down

0 comments on commit d163705

Please sign in to comment.