core.files.uploadedfile.InMemoryUploadedFile
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

class InMemoryUploadedFile [source] A file uploaded into memory (i.e. stream-to-memory).

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.UploadedFile.name
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

UploadedFile.name The name of the uploaded file (e.g. my_file.txt).

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

class UploadedFile [source] During file uploads, the actual file data is stored in

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

UploadedFile.read() Read the entire uploaded data from the file. Be careful with this method: if the uploaded file is huge it

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

class MemoryFileUploadHandler [source] File upload handler to stream uploads into memory

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

TemporaryUploadedFile.temporary_file_path() [source] Returns the full path to the temporary

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

FileUploadHandler.handle_raw_input(input_data, META, content_length, boundary, encoding) [source] Allows

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

FileUploadHandler.receive_data_chunk(raw_data, start) [source] Receives a “chunk” of data

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

FileUploadHandler.upload_complete() [source] Callback signaling that the entire upload (all

2025-01-10 15:47:30