Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
@adrianholovaty adrianholovaty authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 docs/middleware.txt
View
11 docs/middleware.txt
@@ -154,6 +154,17 @@ every incoming ``HttpRequest`` object. See `Authentication in Web requests`_.
.. _Authentication in Web requests: ../authentication/#authentication-in-web-requests
+django.contrib.csrf.middleware.CsrfMiddleware
+---------------------------------------------
+
+**New in Django development version**
+
+Adds protection against Cross Site Request Forgeries by adding hidden form
+fields to POST forms and checking requests for the correct value. See the
+`Cross Site Request Forgery protection documentation`_.
+
+.. _`Cross Site Request Forgery protection documentation`: ../csrf/
+
django.middleware.transaction.TransactionMiddleware
---------------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.