summaryrefslogtreecommitdiff
path: root/docs/ref/request-response.txt
diff options
context:
space:
mode:
authorAnubhav Joshi <anubhav9042@gmail.com>2014-03-26 19:00:47 +0530
committerTim Graham <timograham@gmail.com>2014-04-08 09:52:07 -0400
commitc8c2b8a6382f255b4f0b8296906bdef8eebb5809 (patch)
tree42f4e3a1ccfb446f74448f37ee34983573ed5ea2 /docs/ref/request-response.txt
parent36de29200e1ea713c278f7672ab1790e1500c423 (diff)
Fixed #9535 -- Added a reference guide for file upload classes.
Diffstat (limited to 'docs/ref/request-response.txt')
-rw-r--r--docs/ref/request-response.txt32
1 files changed, 1 insertions, 31 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index 815fe38485..929882989a 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -132,7 +132,7 @@ All attributes should be considered read-only, unless stated otherwise below.
A dictionary-like object containing all uploaded files. Each key in
``FILES`` is the ``name`` from the ``<input type="file" name="" />``. Each
- value in ``FILES`` is an :class:`UploadedFile` as described below.
+ value in ``FILES`` is an :class:`~django.core.files.uploadedfile.UploadedFile`.
See :doc:`/topics/files` for more information.
@@ -334,36 +334,6 @@ Methods
process(element)
-UploadedFile objects
-====================
-
-.. class:: UploadedFile
-
-
-Attributes
-----------
-
-.. attribute:: UploadedFile.name
-
- The name of the uploaded file.
-
-.. attribute:: UploadedFile.size
-
- The size, in bytes, of the uploaded file.
-
-Methods
-----------
-
-.. method:: UploadedFile.chunks(chunk_size=None)
-
- Returns a generator that yields sequential chunks of data.
-
-.. method:: UploadedFile.read(num_bytes=None)
-
- Read a number of bytes from the file.
-
-
-
QueryDict objects
=================