get_valid_name(name) [source] Returns a filename based on the name parameter
UploadedFile.content_type_extra A dictionary containing extra parameters passed to the content-type header. This
size(name) [source] Returns the total size, in bytes, of the file referenced by name
UploadedFile.charset For text/* content-types, the character set (i.e. utf8) supplied
location Absolute path to the directory that will hold the files. Defaults to the value of your MEDIA_ROOT setting
UploadedFile.multiple_chunks(chunk_size=None) Returns True if the uploaded file is big enough to require reading
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
file The underlying
open(name, mode='rb') [source] Opens the file given by name. Note that although
Page 1 of 7