summaryrefslogtreecommitdiff
path: root/django/core/files/uploadhandler.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-10-11 07:25:14 -0400
committerTim Graham <timograham@gmail.com>2013-10-11 07:25:14 -0400
commitb67ab75e82ec59dd4eeca119eeaf570d7c88556c (patch)
tree45bb072d08b4d7de7e6b76bf01fcd9bddcb43acd /django/core/files/uploadhandler.py
parent695bc0d191c126a948a7cf3acc3e37d9377ebd20 (diff)
downloaddjango-b67ab75e82ec59dd4eeca119eeaf570d7c88556c.tar.gz
Fixed assorted flake8 errors.
Diffstat (limited to 'django/core/files/uploadhandler.py')
-rw-r--r--django/core/files/uploadhandler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/django/core/files/uploadhandler.py b/django/core/files/uploadhandler.py
index 914e2c51fa..185aca72cc 100644
--- a/django/core/files/uploadhandler.py
+++ b/django/core/files/uploadhandler.py
@@ -199,6 +199,8 @@ def load_handler(path, *args, **kwargs):
Given a path to a handler, return an instance of that handler.
E.g.::
+ >>> from django.http import HttpRequest
+ >>> request = HttpRequest()
>>> load_handler('django.core.files.uploadhandler.TemporaryFileUploadHandler', request)
<TemporaryFileUploadHandler object at 0x...>