width Width of the image in pixels.
File.delete(save=True) Removes the file from the model instance and deletes the underlying file. If save is True
accessed_time(name) [source] Returns a naive datetime object containing the
UploadedFile.content_type The content-type header uploaded with the file (e.g. text/plain or
generate_filename(filename) [source] New in Django
class TemporaryFileUploadHandler [source] Upload handler that streams data into a temporary
write(content) Writes the specified content string to the file. Depending on the storage system behind the scenes, this content
UploadedFile.size The size, in bytes, of the uploaded file.
class TemporaryUploadedFile [source] A file uploaded to a temporary location (i.e. stream-to-disk)
FileUploadHandler.new_file(field_name, file_name, content_type, content_length, charset, content_type_extra) [source]
Page 2 of 7