From 39af2738fd64ba7f4c4af0783590e2b2b7b88460 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 19 Jul 2008 01:07:17 +0000 Subject: [PATCH] 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 --- docs/upload_handling.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()``.