Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated csrf docs with 'versionadded' info

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9ec9936413a906e71ce79d1ce7d26df865891a95 1 parent 9eedc7b
@spookylukey spookylukey authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 docs/ref/contrib/csrf.txt
View
6 docs/ref/contrib/csrf.txt
@@ -32,6 +32,8 @@ list.
Exceptions
----------
+.. versionadded:: 1.1
+
To manually exclude a view function from being handled by the
CsrfMiddleware, you can use the ``csrf_exempt`` decorator (found in
the ``django.contrib.csrf.middleware`` module).
@@ -82,6 +84,10 @@ classes: ``CsrfResponseMiddleware`` and ``CsrfViewMiddleware``
respectively. This allows the individual components to be used and/or
replaced instead of using ``CsrfMiddleware``.
+.. versionchanged:: 1.1
+ (previous versions of Django did not provide these two components
+ of ``CsrfMiddleware`` as described above)
+
.. _9.1.1 Safe Methods, HTTP 1.1, RFC 2616: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
Limitations
Please sign in to comment.
Something went wrong with that request. Please try again.