From 4c445fdfaa7c315ed2fcdcf4c00de2c3cdcfcbb6 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 24 Dec 2011 20:45:58 +0000 Subject: Fixed #17110 -- Mentionned that the {% filter %} tag doesn't support the 'safe' and 'escape' filters. Thanks benspaulding. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17271 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/templates/builtins.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 123e8f9868..62abcbf118 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -237,6 +237,12 @@ Sample usage:: This text will be HTML-escaped, and will appear in all lowercase. {% endfilter %} +.. note:: + + The :tfilter:`escape` and :tfilter:`safe` filters are not acceptable + arguments. Instead, use the :ttag:`autoescape` tag to manage autoescaping + for blocks of template code. + .. templatetag:: firstof firstof -- cgit v1.3