You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For S3Boto3Storage we are currently wraping it with this
class BaseS3Storage(S3Boto3Storage):
def _clean_name(self, name):
name = str(name) # convert any pathlib stuff to strings
return super()._clean_name(name)
Django has made some moves in the past year to support
pathlib.Path()
withFileSystemStorage
https://code.djangoproject.com/ticket/28428For alignment, django-storages should head in the same direction.
Not proposing any breaking changes here (just yet), but would be nice if
Path
objects were acceptable parameters when feeding in keys and prefixes.The text was updated successfully, but these errors were encountered: