1. Luke Plant
  2. django

Commits

ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 0f80bb2

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

  • Participants
  • Parent commits 36052c4
  • Branches default

Comments (0)

Files changed (2)

File docs/fastcgi.txt

View file
  • Ignore whitespace
 ==============================
 
 Although the current preferred setup for running Django is Apache_ with
-`mod_python`_, many people use shared hosting, on which FastCGI_ is the only
+`mod_python`_, many people use shared hosting, on which FastCGI is the only
 viable option. In some setups, FastCGI also allows better security -- and,
 possibly, better performance -- than mod_python.
 
 If you have access to a command shell on a unix system, restarting the
 server can be done with the ``touch`` command::
 
-    touch mysite.fcgi
+    touch mysite.fcgi

File docs/request_response.txt

View file
  • Ignore whitespace
     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, check `method`_.
+    to check for use of the POST method; instead, use ``if reuqest.method ==
+    "POST"`` (see above).
 
     Note: ``POST`` does *not* include file-upload information. See ``FILES``.