django-s3direct icon indicating copy to clipboard operation
django-s3direct copied to clipboard

How do I use this with React?

Open denny64 opened this issue 7 years ago • 1 comments

denny64 avatar May 06 '17 03:05 denny64

Use your own HTTP Client to do the following:

https://github.com/bradleyg/django-s3direct/issues/44#issuecomment-98085276

EDIT:

I tried this myself and apparently it is outdated. I have requested @bradleyg in https://github.com/bradleyg/django-s3direct/issues/44#issuecomment-466684251 to renew the answer and I will add this as a PR to the documentation of the library.

EDIT2: I ended up just using boto3, I created a route for signing (presigned_post) like they show in the guide, then sent a post request directly to S3 from my frontend lib, once done, I just sent the S3 resource url back my server and saved it in the DB. @denny64 You don't really need this library in the new versions of Django / AWS along side an API like structure.

amitassaraf avatar Feb 20 '19 21:02 amitassaraf