-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storage mixin does not work with boto3 #47
Comments
Hi @merwok ! Thanks for the bug report! Sadly, I don't use S3 storage but I believe you can make it work by using an older version of S3Boto3Storage which is compatible with this mixin. Anyway I would recommend you create an issue or pull request to upstream: https://github.com/sehmaschine/django-filebrowser |
I wrote my own mixin and will put it in a gist! |
Hi @merwok ! Please feel free to open PR with you mixin. I also see @FutureMind made this fix: FutureMind@0b9cda4 Does it work for you? I'll be happy to fix the issue if I somebody provide PR with a tested mixin. |
This is a bit rough but functional: https://gist.github.com/merwok/3365ed649500baf0aae3a5f3263fa7b5 The issues are:
I will probably remove/rewrite the whole filebrowser, but feel free to start from my code and improve it! |
i used django-s3-storage
it works for me. updated rmtree function |
Hello! To use this filebrowser with django-tinymce and S3 storage for uploaded files, I combined S3Boto3Storage backend with your S3BotoStorageMixin.
I got this exception:
AttributeError
filebrowser.decorators.path_exists..decorator
's3.Bucket' object has no attribute 'list'
The text was updated successfully, but these errors were encountered: