UploadedFile.size The size, in bytes, of the uploaded file.
FileUploadHandler.chunk_size Size, in bytes, of the “chunks” Django should store into memory and feed into the handler. That
url(name) [source] Returns the URL where the contents of the file referenced by name
File.save(name, content, save=True) Saves a new file with the file name and contents provided. This will not replace the existing
size The size of the file in bytes.
FileUploadHandler.new_file(field_name, file_name, content_type, content_length, charset, content_type_extra) [source]
UploadedFile.chunks(chunk_size=None) A generator returning chunks of the file. If multiple_chunks() is True
class TemporaryFileUploadHandler [source] Upload handler that streams data into a temporary
class InMemoryUploadedFile [source] A file uploaded into memory (i.e. stream-to-memory).
write(content) Writes the specified content string to the file. Depending on the storage system behind the scenes, this content
Page 3 of 7