core.files.uploadedfile.UploadedFile.multiple_chunks()
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

UploadedFile.multiple_chunks(chunk_size=None) Returns True if the uploaded file is big enough to require reading

2025-01-10 15:47:30
core.files.uploadedfile.UploadedFile.charset
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

UploadedFile.charset For text/* content-types, the character set (i.e. utf8) supplied

2025-01-10 15:47:30
core.files.uploadedfile.UploadedFile.content_type_extra
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

UploadedFile.content_type_extra A dictionary containing extra parameters passed to the content-type header. This

2025-01-10 15:47:30
core.files.uploadhandler.FileUploadHandler.file_complete()
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

FileUploadHandler.file_complete(file_size) [source] Called when a file has finished uploading

2025-01-10 15:47:30
core.files.uploadedfile.UploadedFile.content_type
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

UploadedFile.content_type The content-type header uploaded with the file (e.g. text/plain or

2025-01-10 15:47:30
core.files.uploadedfile.TemporaryUploadedFile
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

class TemporaryUploadedFile [source] A file uploaded to a temporary location (i.e. stream-to-disk)

2025-01-10 15:47:30
core.files.uploadedfile.UploadedFile.size
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

UploadedFile.size The size, in bytes, of the uploaded file.

2025-01-10 15:47:30
core.files.uploadhandler.FileUploadHandler.chunk_size
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

FileUploadHandler.chunk_size Size, in bytes, of the “chunks” Django should store into memory and feed into the handler. That

2025-01-10 15:47:30
core.files.uploadhandler.FileUploadHandler.new_file()
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

FileUploadHandler.new_file(field_name, file_name, content_type, content_length, charset, content_type_extra) [source]

2025-01-10 15:47:30
core.files.uploadedfile.UploadedFile.chunks()
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

UploadedFile.chunks(chunk_size=None) A generator returning chunks of the file. If multiple_chunks() is True

2025-01-10 15:47:30