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:
parent
88ae2d44e0
commit
39af2738fd
|
@ -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()``.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue