summaryrefslogtreecommitdiff
path: root/django/core/files/uploadhandler.py
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2009-03-08 09:31:30 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2009-03-08 09:31:30 +0000
commitd8fdf4d7acc8c154a5cb2af51e09ececc57586d1 (patch)
treebc43879cd22c16607d655ea27857f44cc791b4aa /django/core/files/uploadhandler.py
parente8a817d499ac67ef936d47457916db1d6eba8582 (diff)
Fixed #9399 -- Added StopFutureHandlers to export list in file handling.
Thanks, George Vilches. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core/files/uploadhandler.py')
-rw-r--r--django/core/files/uploadhandler.py4
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