Re: Add a PersistedTemporaryFileUploadHandler for file upload

2023-12-18 Thread Jörg Breitbart
My first reflex to this is -1 for a simple reason: the persistence layer in django is meant to be db-driven. The upload logic is transient for that reason, and nothing stops you from creating a better controlled file upload handling with a model holding those files before entering your real bu

Add a PersistedTemporaryFileUploadHandler for file upload

2023-12-16 Thread Adnane GUETTAF
*Description:* Using the *PersistedTemporaryFileUploadHandler* upload handler, Django will write the uploaded file to a temporary file stored in your system's temporary directory, as the *TemporaryFileUploadHandler* already do. However, the file this time will not be suppressed after your first