Class | FileUploadHandler |
Base class for streaming upload handlers. |
Class | MemoryFileUploadHandler |
File upload handler to stream uploads into memory (used for small files). |
Class | TemporaryFileUploadHandler |
Upload handler that streams data into a temporary file. |
Class | SkipFile |
This exception is raised by an upload handler that wants to skip a given file. |
Class | StopFutureHandlers |
Upload handlers that have handled a file and do not want future handlers to run should raise this exception instead of returning None. |
Class | StopUpload |
This exception is raised when an upload must abort. |
Class | UploadFileException |
Any error having to do with uploading files. |
Function | load_handler |
Given a path to a handler, return an instance of that handler. |
Given a path to a handler, return an instance of that handler.
>>> from django.http import HttpRequest >>> request = HttpRequest() >>> load_handler('django.core.files.uploadhandler.TemporaryFileUploadHandler', request) <TemporaryFileUploadHandler object at 0x...>