summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2008-07-02 20:34:29 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2008-07-02 20:34:29 +0000
commit45404bea1833b2626c72d383020ab9cd067af321 (patch)
tree3ea032eea568e68d6a9b7189f694454c6327237a /docs
parentf7903f747912b01c723d02022371979665f25cf3 (diff)
Fixed a few typos in upload handling docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/upload_handling.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/upload_handling.txt b/docs/upload_handling.txt
index b5aaf46fa8..34cd085ac9 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.chunks()``
+ ``UploadedFile.chunk()``
A generator returning chunks of the file. If ``multiple_chunks()`` is
``True``, you should use this method in a loop instead of ``read()``.
@@ -299,7 +299,7 @@ attributes:
multiple chunk sizes provided by multiple handlers, Django will use the
smallest chunk size defined by any handler.
- The default is 64*2\ :sup:`10` bytes, or 64 Kb.
+ The default is 64*2\ :sup:`10` bytes, or 64 KB.
``FileUploadHandler.new_file(self, field_name, file_name, content_type, content_length, charset)``
Callback signaling that a new file upload is starting. This is called
@@ -325,7 +325,7 @@ attributes:
``FileUploadHandler.upload_complete(self)``
Callback signaling that the entire upload (all files) has completed.
- ``FileUploadHandler.``handle_raw_input(self, input_data, META, content_length, boundary, encoding)``
+ ``FileUploadHandler.handle_raw_input(self, input_data, META, content_length, boundary, encoding)``
Allows the handler to completely override the parsing of the raw
HTTP input.