Commit 39af2738 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

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
parent 88ae2d44
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()``.