Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #8486: Corrected some file attribute names in the request/respo…

…nse docs. Thanks to mrsanders for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 27371e3286ae723fb96dfa990eee197454350163 1 parent 78c2c95
@freakboy3742 freakboy3742 authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/ref/request-response.txt
View
6 docs/ref/request-response.txt
@@ -112,9 +112,9 @@ All attributes except ``session`` should be considered read-only.
attributes:
* ``read(num_bytes=None)`` -- Read a number of bytes from the file.
- * ``file_name`` -- The name of the uploaded file.
- * ``file_size`` -- The size, in bytes, of the uploaded file.
- * ``chunk()`` -- A generator that yields sequential chunks of data.
+ * ``name`` -- The name of the uploaded file.
+ * ``size`` -- The size, in bytes, of the uploaded file.
+ * ``chunks(chunk_size=None)`` -- A generator that yields sequential chunks of data.
See :ref:`topics-files` for more information.
Please sign in to comment.
Something went wrong with that request. Please try again.