Commit 4403ce10 authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

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
parent 4c445fdf
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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