diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-06-22 04:56:35 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-06-22 04:56:35 +0000 |
| commit | d8acac975ad42af05c320c4c7ccb2bfcdf1330d4 (patch) | |
| tree | f0f7c030f0b3c8a70b219af4bbe250ebf6e34c52 /docs/request_response.txt | |
| parent | a490d6b4f69fc8f43a89d18b091bd3e97b145de6 (diff) | |
Fixed typo in docs/request_response.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/request_response.txt')
| -rw-r--r-- | docs/request_response.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/request_response.txt b/docs/request_response.txt index 1a37bb1e89..0bcb3a7f5b 100644 --- a/docs/request_response.txt +++ b/docs/request_response.txt @@ -49,7 +49,7 @@ All attributes except ``session`` should be considered read-only. It's possible that a request can come in via POST with an empty ``POST`` dictionary -- if, say, a form is requested via the POST HTTP method but does not include form data. Therefore, you shouldn't use ``if request.POST`` - to check for use of the POST method; instead, use ``if reuqest.method == + to check for use of the POST method; instead, use ``if request.method == "POST"`` (see above). Note: ``POST`` does *not* include file-upload information. See ``FILES``. |
