oursky / django-material-demo

0 stars 3 forks source link

Image and file upload and display #8

Open Steven-Chan opened 2 years ago

Steven-Chan commented 2 years ago

Steven-Chan commented 1 year ago

Please explore how to configure django and django-storage to work with presigned url upload, or do we need another libraries to do that.

Rubikium commented 1 year ago

There is a library django-s3direct for pre-signed url upload to S3 storage, but the library code doesn't allow for easy integration with our existing framework. I have made a somewhat functioning version at my expt-s3-direct-upload branch, but:

For the purpose of the project, I suggest to exclude the pre-signed url upload feature, since Django and django-storage doesn't support this, and the effort needed for implementing this using django-s3direct is far greater than what we would expect for a demo for others to reference.