From b49e39152b9370c41775a3983b1cdda2a5e6cf37 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Mon, 30 Mar 2009 21:01:08 +0000 Subject: [PATCH] [1.0.X]: Fixed #8643 -- Corrected docstrings of `MultiPartParser`, thanks KayEss. Backport of r10213 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10214 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/http/multipartparser.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/django/http/multipartparser.py b/django/http/multipartparser.py index 2049289a0b..048c9aaea2 100644 --- a/django/http/multipartparser.py +++ b/django/http/multipartparser.py @@ -34,8 +34,6 @@ class MultiPartParser(object): ``MultiValueDict.parse()`` reads the input stream in ``chunk_size`` chunks and returns a tuple of ``(MultiValueDict(POST), MultiValueDict(FILES))``. If - ``file_upload_dir`` is defined files will be streamed to temporary files in - that directory. """ def __init__(self, META, input_data, upload_handlers, encoding=None): """ @@ -44,7 +42,7 @@ class MultiPartParser(object): :META: The standard ``META`` dictionary in Django request objects. :input_data: - The raw post data, as a bytestring. + The raw post data, as a file-like object. :upload_handler: An UploadHandler instance that performs operations on the uploaded data.