Fixed #8486: Corrected some file attribute names in the request/response docs. Thanks to mrsanders for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2008-08-24 09:01:50 +00:00
parent 78c2c95ed3
commit 27371e3286
1 changed files with 3 additions and 3 deletions

View File

@ -112,9 +112,9 @@ All attributes except ``session`` should be considered read-only.
attributes: attributes:
* ``read(num_bytes=None)`` -- Read a number of bytes from the file. * ``read(num_bytes=None)`` -- Read a number of bytes from the file.
* ``file_name`` -- The name of the uploaded file. * ``name`` -- The name of the uploaded file.
* ``file_size`` -- The size, in bytes, of the uploaded file. * ``size`` -- The size, in bytes, of the uploaded file.
* ``chunk()`` -- A generator that yields sequential chunks of data. * ``chunks(chunk_size=None)`` -- A generator that yields sequential chunks of data.
See :ref:`topics-files` for more information. See :ref:`topics-files` for more information.