ImperialCollegeLondon / django-drf-filepond

A Django app providing a server implemention for the Filepond file upload library
BSD 3-Clause "New" or "Revised" License
103 stars 39 forks source link

For production, does it make sense to add files to tmp local storage? #110

Closed oscar-investmatic closed 6 months ago

oscar-investmatic commented 6 months ago

Hi Folks,

I'm pretty sure that I'm missing something here, but I was basically under the idea that uploading and serving files from our Production Django installation is a big no no.

Would it make sense to also have tmp files in AWS or any other storage? Else, curious to hear how you are using this and deploying it to production.

Cheers

oscar-investmatic commented 6 months ago

Closing as I found similar discussion.

jcohen02 commented 6 months ago

Thanks for the question @oscar-investmatic and glad you found some earlier discussion that helped to answer this.

A long planned update is to provide some form of support for using external storage services to support temporary uploads (in the same way that django-storages is used to provide support for "permanent" storage of uploads). There were some issues/challenges with this - maybe that's the previous issue/discussion that you encountered. For now, it's on the list of things it would be good to add into the library in the future.