The reason of this PR, is that I was encountering problems using the mixin to upload images to Google Cloud Storage from a RichText source. It looks like the bucket changed in GCS and doesn't support the method list(), so I used listdir in the same way that it's done for the S3 mixin.
The _clean_name method was nowhere to be found, so I just replicate its behaviour to make it work.
Fixes _clean_name method, which didn't exist anymore in storages.backends.gcloud.GoogleCloudStorage
Fixes issue with method list() in Bucket, since that's not supported any longer. Use of listdir instead.
Add .idea to .gitignore
Fix specification in Czech language, resulting in compilemessages command not running completely
The reason of this PR, is that I was encountering problems using the
mixin
to upload images to Google Cloud Storage from a RichText source. It looks like the bucket changed in GCS and doesn't support the methodlist()
, so I usedlistdir
in the same way that it's done for the S3 mixin. The_clean_name
method was nowhere to be found, so I just replicate its behaviour to make it work._clean_name
method, which didn't exist anymore instorages.backends.gcloud.GoogleCloudStorage
list()
in Bucket, since that's not supported any longer. Use oflistdir
instead..idea
to.gitignore
compilemessages
command not running completelyTested using: