About The Filter Template Tag

You can apply template filters to rendered content using the {% filter %} template tag, for example:

1
2
3
{% filter urlizetrunc:35 %}
    {% include "misc/includes/about-us.html" %}
{% endfilter %}

Tips and Tricks Programming Web Design Django 5.x Django 4.2 Django 3.2