Uploaded Files and Upload Handlers

Uploaded Files and Upload Handlers

Uploaded files

class UploadedFile [source]

During file uploads, the actual file data is stored in request.FILES. Each entry in this dictionary is an UploadedFile object (or a subclass) – a simple wrapper around an uploaded file. You’ll usually use one of these methods to access the uploaded content:

登录查看完整内容