Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #6247 -- Added CsrfMiddleware to docs/middleware.txt. Thanks, U…

…ninen

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit aa728422bc2b9fe81e89c421d2199ba01eacf8b1 1 parent 8bb0799
Adrian Holovaty authored January 02, 2008

Showing 1 changed file with 11 additions and 0 deletions. Show diff stats Hide diff stats

  1. 11  docs/middleware.txt
11  docs/middleware.txt
@@ -154,6 +154,17 @@ every incoming ``HttpRequest`` object. See `Authentication in Web requests`_.
154 154
 
155 155
 .. _Authentication in Web requests: ../authentication/#authentication-in-web-requests
156 156
 
  157
+django.contrib.csrf.middleware.CsrfMiddleware
  158
+---------------------------------------------
  159
+
  160
+**New in Django development version**
  161
+
  162
+Adds protection against Cross Site Request Forgeries by adding hidden form
  163
+fields to POST forms and checking requests for the correct value. See the
  164
+`Cross Site Request Forgery protection documentation`_.
  165
+
  166
+.. _`Cross Site Request Forgery protection documentation`: ../csrf/
  167
+
157 168
 django.middleware.transaction.TransactionMiddleware
158 169
 ---------------------------------------------------
159 170
 

0 notes on commit aa72842

Please sign in to comment.
Something went wrong with that request. Please try again.