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.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/django/core/files/uploadhandler.py b/django/core/files/uploadhandler.py
index 64781f811b..b6c185e8fc 100644
--- a/django/core/files/uploadhandler.py
+++ b/django/core/files/uploadhandler.py
@@ -242,7 +242,10 @@ def load_handler(path, *args, **kwargs):
E.g.::
>>> from django.http import HttpRequest
>>> request = HttpRequest()
- >>> load_handler('django.core.files.uploadhandler.TemporaryFileUploadHandler', request)
+ >>> load_handler(
+ ... 'django.core.files.uploadhandler.TemporaryFileUploadHandler',
+ ... request,
+ ... )
<TemporaryFileUploadHandler object at 0x...>
"""
return import_string(path)(*args, **kwargs)