Skip to content

Commit

Permalink
Fixed #7782 -- Corrected documentation to refer to chunks(), rather t…
Browse files Browse the repository at this point in the history
…han the deprecated chunk().

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
freakboy3742 committed Jul 19, 2008
1 parent 88ae2d4 commit 39af273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/upload_handling.txt
Expand Up @@ -72,7 +72,7 @@ methods to access the uploaded content:
reading in multiple chunks. By default this will be any file reading in multiple chunks. By default this will be any file
larger than 2.5 megabytes, but that's configurable; see below. larger than 2.5 megabytes, but that's configurable; see below.


``UploadedFile.chunk()`` ``UploadedFile.chunks()``
A generator returning chunks of the file. If ``multiple_chunks()`` is A generator returning chunks of the file. If ``multiple_chunks()`` is
``True``, you should use this method in a loop instead of ``read()``. ``True``, you should use this method in a loop instead of ``read()``.


Expand Down

0 comments on commit 39af273

Please sign in to comment.