meeb / django-distill

Minimal configuration static site generator for Django
MIT License
441 stars 35 forks source link

Refactored AWS S3 backend to work correctly with boto3 to upload files to a S3 bucket. #78

Closed JesusAnaya closed 1 year ago

JesusAnaya commented 1 year ago

It raised the following error: AttributeError: 'S3' object has no attribute 'get_bucket'. Did you mean: 'head_bucket'?

The updated code was tested using the current commands in the documentation, and it's working correctly; I could submit a website to an S3 bucket in AWS S3. Please merge this solution.

meeb commented 1 year ago

Looks good, thanks! I've not personally used the S3 back end for some time so I'm not surprised it needed an update. I'll merge this and it'll be in the next release.

meeb commented 1 year ago

This has been rolled into the latest release, v3.1.3 and is available now.