Code

Changes between Version 5 and Version 6 of AutoEscape alternative


Ignore:
Timestamp:
03/16/07 14:10:29 (7 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AutoEscape alternative

    v5 v6  
    7979}}} 
    8080 
     81One gotcha to be aware of: if you set `{% finalfilter escape %}` in a base template and then want to use the `finalized` filter in a template that extends it, you must `{% load filtertags %}` in the template or `finalized` won't be found. This is exactly how things ''should'' work (see [http://www.djangoproject.com/documentation/templates/#custom-tag-and-filter-libraries here]), but since the `finalfilter` tag spans included templates, it may not be immediately obvious. 
     82 
    8183== Try It Out == 
    8284