mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Documented the presence of {% csrf_token %} in Django 1.1.2 in trunk docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
905dba3694
commit
9dc9770736
2 changed files with 10 additions and 4 deletions
|
@ -56,9 +56,12 @@ Ignore everything between ``{% comment %}`` and ``{% endcomment %}``
|
|||
csrf_token
|
||||
~~~~~~~~~~
|
||||
|
||||
.. versionadded:: 1.2
|
||||
.. versionadded:: 1.1.2
|
||||
|
||||
This is described in the documentation for :ref:`Cross Site Request Forgeries <ref-contrib-csrf>`.
|
||||
In the Django 1.1.X series, this is a no-op tag that returns an empty string for
|
||||
future compatibility purposes. In Django 1.2 and later, it is used for CSRF
|
||||
protection, as described in the documentation for :ref:`Cross Site Request
|
||||
Forgeries <ref-contrib-csrf>`.
|
||||
|
||||
cycle
|
||||
~~~~~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue