Fixed #7782 -- Corrected documentation to refer to chunks(), rather than the deprecated chunk().

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2008-07-19 01:07:17 +00:00
parent 88ae2d44e0
commit 39af2738fd
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ methods to access the uploaded content:
reading in multiple chunks. By default this will be any file
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
``True``, you should use this method in a loop instead of ``read()``.