File Uploads
File Uploads
When Django handles a file upload, the file data ends up placed in request.FILES
(for more on the request
object see the documentation for request and response objects). This document explains how files are stored on disk and in memory, and how to customize the default behavior.
Warning
There are security risks if you are accepting uploaded content from untrusted users! See the security guide’s topic on User-upload