listdir(path) [source] Lists the contents of the specified path, returning a 2-tuple of lists;
UploadedFile.multiple_chunks(chunk_size=None) Returns True if the uploaded file is big enough to require reading
width Width of the image in pixels.
open(name, mode='rb') [source] Opens the file given by name. Note that although
get_valid_name(name) [source] Returns a filename based on the name parameter
size(name) [source] Returns the total size, in bytes, of the file referenced by name
file The underlying
UploadedFile.content_type_extra A dictionary containing extra parameters passed to the content-type header. This
base_url URL that serves the files stored at this location. Defaults to the value of your MEDIA_URL setting.
File.delete(save=True) Removes the file from the model instance and deletes the underlying file. If save is True
Page 1 of 7