diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2009-03-08 09:33:14 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2009-03-08 09:33:14 +0000 |
| commit | 34b530fce71bc9d3ef811a4dbd183334a1bfb917 (patch) | |
| tree | b9a4f5668d68745dcb0862ad34e6995542b6fa3c | |
| parent | 8baac83f30a3f15dd4ca8c0fd06bedcfa8646314 (diff) | |
[1.0.X] Fixed #9399 -- Added StopFutureHandlers to export list in file handling.
Thanks, George Vilches.
Backport of r9992 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/core/files/uploadhandler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/core/files/uploadhandler.py b/django/core/files/uploadhandler.py index fa4d2df804..b93ff9446e 100644 --- a/django/core/files/uploadhandler.py +++ b/django/core/files/uploadhandler.py @@ -13,7 +13,7 @@ from django.core.files.uploadedfile import TemporaryUploadedFile, InMemoryUpload __all__ = ['UploadFileException','StopUpload', 'SkipFile', 'FileUploadHandler', 'TemporaryFileUploadHandler', 'MemoryFileUploadHandler', - 'load_handler'] + 'load_handler', 'StopFutureHandlers'] class UploadFileException(Exception): """ @@ -44,7 +44,7 @@ class SkipFile(UploadFileException): This exception is raised by an upload handler that wants to skip a given file. """ pass - + class StopFutureHandlers(UploadFileException): """ Upload handers that have handled a file and do not want future handlers to |
