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

size(name) [source] Returns the total size, in bytes, of the file referenced by name

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

get_accessed_time(name) [source] New in Django

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

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

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

generate_filename(filename) [source] New in Django

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

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

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

height Height of the image in pixels.

2025-01-10 15:47:30