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.storage.Storage
  • References/Python/Django/API/File handling/File storage API

class Storage [source] The Storage class provides a standardized API for storing

2025-01-10 15:47:30
core.files.storage.FileSystemStorage.directory_permissions_mode
  • References/Python/Django/API/File handling/File storage API

directory_permissions_mode The file system permissions that the directory will receive when it is saved. Defaults to

2025-01-10 15:47:30
core.files.storage.DefaultStorage
  • References/Python/Django/API/File handling/File storage API

class DefaultStorage [source] DefaultStorage provides lazy access to the current

2025-01-10 15:47:30
core.files.File.open()
  • References/Python/Django/API/File handling/The File object

open(mode=None) [source] Open or reopen the file (which also does File.seek(0))

2025-01-10 15:47:30
core.files.storage.Storage.get_created_time()
  • References/Python/Django/API/File handling/File storage API

get_created_time(name) [source] New in Django

2025-01-10 15:47:30
core.files.File.
  • References/Python/Django/API/File handling/The File object

__iter__() [source] Iterate over the file yielding one line at a time.

2025-01-10 15:47:30
core.files.storage.get_storage_class()
  • References/Python/Django/API/File handling/File storage API

get_storage_class(import_path=None) [source] Returns a class or module which implements the

2025-01-10 15:47:30
core.files.File.read()
  • References/Python/Django/API/File handling/The File object

read(num_bytes=None) Read content from the file. The optional size is the number of bytes to read; if not specified

2025-01-10 15:47:30
core.files.storage.Storage.modified_time()
  • References/Python/Django/API/File handling/File storage API

modified_time(name) [source] Returns a naive datetime object containing the

2025-01-10 15:47:30