summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2011-12-24 20:48:19 +0000
committerAymeric Augustin <aymeric.augustin@m4x.org>2011-12-24 20:48:19 +0000
commit4403ce10b75b4b399064eccb960f9f38c796431d (patch)
tree9441421119eba7de1978797972ec99328e31d707 /docs
parent4c445fdfaa7c315ed2fcdcf4c00de2c3cdcfcbb6 (diff)
Removed a redundant paragraph from the templates builtins doc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/templates/builtins.txt7
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index 62abcbf118..1499e2a28c 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -147,13 +147,6 @@ This is because template tags do not escape their content. Any HTML or
Javascript code contained in the printed variable will be rendered
as-is, which could potentially lead to security issues.
-If you need to escape the variables in the cycle, you must do so
-explicitly::
-
- {% filter force_escape %}
- {% cycle var1 var2 var3 %}
- {% endfilter %}
-
For backwards compatibility, the ``{% cycle %}`` tag supports the much inferior
old syntax from previous Django versions. You shouldn't use this in any new
projects, but for the sake of the people who are still using it, here's what it