diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2008-09-09 01:54:20 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2008-09-09 01:54:20 +0000 |
| commit | 74f386dba274e319eb9e76cfb6f5d38e602104d9 (patch) | |
| tree | f39a1983daa4cf5650927daa729cf7f39176ae2b /docs/ref/request-response.txt | |
| parent | 834a041e67b61f84b095c0796ed085f4c4785b0a (diff) | |
Fixed #8979 -- Made a bunch of typo/formatting fixes to the docs. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/request-response.txt')
| -rw-r--r-- | docs/ref/request-response.txt | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 486ede0a78..89e5195a4e 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -93,18 +93,7 @@ All attributes except ``session`` should be considered read-only. A standard Python dictionary containing all cookies. Keys and values are strings. -.. attribute:: HttpRequest.FILES - - .. admonition:: Changed in Django development version - - In previous versions of Django, ``request.FILES`` contained - simple ``dict`` objects representing uploaded files. This is - no longer true -- files are represented by ``UploadedFile`` - objects as described below. - - These ``UploadedFile`` objects will emulate the old-style ``dict`` - interface, but this is deprecated and will be removed in the next - release of Django. +.. attribute:: HttpRequest.FILES A dictionary-like object containing all uploaded files. Each key in ``FILES`` is the ``name`` from the ``<input type="file" name="" />``. Each @@ -123,6 +112,16 @@ All attributes except ``session`` should be considered read-only. ``enctype="multipart/form-data"``. Otherwise, ``FILES`` will be a blank dictionary-like object. + .. versionchanged:: 1.0 + + In previous versions of Django, ``request.FILES`` contained simple ``dict`` + objects representing uploaded files. This is no longer true -- files are + represented by ``UploadedFile`` objects as described below. + + These ``UploadedFile`` objects will emulate the old-style ``dict`` + interface, but this is deprecated and will be removed in the next release of + Django. + .. attribute:: HttpRequest.META A standard Python dictionary containing all available HTTP headers. |
