diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2008-07-19 01:07:17 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2008-07-19 01:07:17 +0000 |
| commit | 39af2738fd64ba7f4c4af0783590e2b2b7b88460 (patch) | |
| tree | 14b710e97e0e8fe6a939b1c15a4b3dce45b70bca /docs | |
| parent | 88ae2d44e009ce6b03772a8af63d86405ab4595c (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/upload_handling.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/upload_handling.txt b/docs/upload_handling.txt index 3b88ce4e3d..e11d0d94f0 100644 --- a/docs/upload_handling.txt +++ b/docs/upload_handling.txt @@ -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()``. |
