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.File.file
  • References/Python/Django/API/File handling/The File object

file The underlying

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

get_valid_name(name) [source] Returns a filename based on the name parameter

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

File.delete(save=True) Removes the file from the model instance and deletes the underlying file. If save is True

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

listdir(path) [source] Lists the contents of the specified path, returning a 2-tuple of lists;

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

base_url URL that serves the files stored at this location. Defaults to the value of your MEDIA_URL setting.

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

open(name, mode='rb') [source] Opens the file given by name. Note that although

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

width Width of the image in pixels.

2025-01-10 15:47:30