diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py
index 9620d1c..3ef5272 100644
a
|
b
|
def do_filter(parser, token):
|
607 | 607 | {% filter force_escape|lower %} |
608 | 608 | This text will be HTML-escaped, and will appear in lowercase. |
609 | 609 | {% endfilter %} |
| 610 | |
| 611 | Note that the ``escape`` and ``safe`` filters are not acceptable arguments. |
| 612 | Instead, use the ``autoescape`` tag to manage autoescaping for blocks of |
| 613 | template code. |
610 | 614 | """ |
611 | 615 | _, rest = token.contents.split(None, 1) |
612 | 616 | filter_expr = parser.compile_filter("var|%s" % (rest)) |
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index 4e5c124..a3fc485 100644
a
|
b
|
Sample usage::
|
227 | 227 | This text will be HTML-escaped, and will appear in all lowercase. |
228 | 228 | {% endfilter %} |
229 | 229 | |
| 230 | .. note:: |
| 231 | |
| 232 | The :tfilter:`escape` and :tfilter:`safe` filters are not acceptable |
| 233 | arguments. Instead, use the :ttag:`autoescape` tag to manage autoescaping |
| 234 | for blocks of template code. |
| 235 | |
230 | 236 | .. templatetag:: firstof |
231 | 237 | |
232 | 238 | firstof |