summaryrefslogtreecommitdiff
path: root/django/core/files/uploadhandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/core/files/uploadhandler.py')
-rw-r--r--django/core/files/uploadhandler.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/django/core/files/uploadhandler.py b/django/core/files/uploadhandler.py
index 748477c0fc..3741f372b2 100644
--- a/django/core/files/uploadhandler.py
+++ b/django/core/files/uploadhandler.py
@@ -8,7 +8,6 @@ from django.conf import settings
from django.core.files.uploadedfile import (
InMemoryUploadedFile, TemporaryUploadedFile,
)
-from django.utils.encoding import python_2_unicode_compatible
from django.utils.module_loading import import_string
__all__ = [
@@ -25,7 +24,6 @@ class UploadFileException(Exception):
pass
-@python_2_unicode_compatible
class StopUpload(UploadFileException):
"""
This exception is raised when an upload must abort.