Django

Code

Changeset 3191

Show
Ignore:
Timestamp:
06/21/06 18:06:24 (2 years ago)
Author:
jacob
Message:

Fixed a few small rst errors in request/response and fastcgi docs.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/fastcgi.txt

    r3175 r3191  
    44 
    55Although the current preferred setup for running Django is Apache_ with 
    6 `mod_python`_, many people use shared hosting, on which FastCGI_ is the only 
     6`mod_python`_, many people use shared hosting, on which FastCGI is the only 
    77viable option. In some setups, FastCGI also allows better security -- and, 
    88possibly, better performance -- than mod_python. 
  • django/trunk/docs/request_response.txt

    r3164 r3191  
    5050    dictionary -- if, say, a form is requested via the POST HTTP method but 
    5151    does not include form data. Therefore, you shouldn't use ``if request.POST`` 
    52     to check for use of the POST method; instead, check `method`_. 
     52    to check for use of the POST method; instead, use ``if reuqest.method == 
     53    "POST"`` (see above). 
    5354 
    5455    Note: ``POST`` does *not* include file-upload information. See ``FILES``.