Ticket #18125: filters_in_tags.diff

File filters_in_tags.diff, 586 bytes (added by ebrelsford@…, 3 years ago)

patch to add caveat

  • docs/topics/templates.txt

    diff --git a/docs/topics/templates.txt b/docs/topics/templates.txt
    index e88a7b7..1a14d3c 100644
    a b tags: 
    226226           Athlete: {{ athlete_list.0.name }}
    227227        {% endif %}
     229    While the above example works, be aware that template filters return
     230    strings and mathematical comparisons using filters will generally not work
     231    as you expect.
    229233:ttag:`block` and :ttag:`extends`
    230234    Set up `template inheritance`_ (see below), a powerful way
    231235    of cutting down on "boilerplate" in templates.
Back to Top