From d8fdf4d7acc8c154a5cb2af51e09ececc57586d1 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sun, 8 Mar 2009 09:31:30 +0000 Subject: [PATCH] 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 --- django/core/files/uploadhandler.py | 4 ++-- 1 file 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