-
Notifications
You must be signed in to change notification settings - Fork 73
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
Integration with django-storages. #58
Comments
Did you get a full working solution for this? I've been overcoming multiple errors trying to get this to work with s3 and django-rest-framework (finally landing on this one), but am still running into some difficulties. Did you end up having to make additional changes other than just adding this path method? |
No, I just upload my file directly from FE to AWS. |
I had to override the entire upload function in the chunkedupload model by writing the custom model. In my case, I was uploading to google cloud storage but it should work for s3 as well.
|
I have the following code in my project:
settings.py:
CHUNKED_UPLOAD_STORAGE_CLASS = 'sstraffic.storage_backends.PublicMediaStorage'
storage_backends.py:
I have an error:
I fixed it by adding a function path to my PublicMediaStorage class.
Is not that too hucky? Will not I break something by this?
It would be nice to have that working out of the box.
The text was updated successfully, but these errors were encountered: