Skip to content

Commit

Permalink
Fixed #9399 -- Added StopFutureHandlers to export list in file handling.
Browse files Browse the repository at this point in the history
Thanks, George Vilches.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
malcolmt committed Mar 8, 2009
1 parent e8a817d commit d8fdf4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/core/files/uploadhandler.py
Expand Up @@ -13,7 +13,7 @@

__all__ = ['UploadFileException','StopUpload', 'SkipFile', 'FileUploadHandler',
'TemporaryFileUploadHandler', 'MemoryFileUploadHandler',
'load_handler']
'load_handler', 'StopFutureHandlers']

class UploadFileException(Exception):
"""
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d8fdf4d

Please sign in to comment.