diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2009-10-27 21:50:58 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2009-10-27 21:50:58 +0000 |
| commit | ebe540528269edde89365cf9330f98ebcad29fea (patch) | |
| tree | 0c6f38b2e4c17d6b41ad22a13d2ec323ea3c2aaa /docs/ref | |
| parent | 1ab0b23df6bfe91c214ccae740287af3151d5a95 (diff) | |
Added a no-op {% csrf_token %} tag to 1.1.X, to ease transition of apps to 1.2
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index a2f8b9f8b3..d98e5055ed 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -53,6 +53,15 @@ Ignore everything between ``{% comment %}`` and ``{% endcomment %}`` .. templatetag:: cycle +csrf_token +~~~~~~~~~~ + +.. versionadded:: 1.1.2 + +In the Django 1.1.X series, this is a no-op tag that returns an empty string. +It exists to ease the transition to Django 1.2, in which it is used for CSRF +protection. + cycle ~~~~~ |
