{% extends "admin/base.html" %} {% load i18n %} {% block title %}{% translate 'Template filters' %}{% endblock %} {% block main %}

{% translate 'Template filter documentation' %}

{% regroup filters|dictsort:"library" by library as filter_libraries %}
{% for library in filter_libraries %}

{% firstof library.grouper _("Built-in filters") %}

    {% for filter in library.list|dictsort:"name" %}
  1. {{ filter.name }}
  2. {% endfor %}
{% endfor %}
{% for library in filter_libraries %}

#{% firstof library.grouper _("Built-in filters") %}

{% if library.grouper %}

{% blocktranslate with code="{"|add:"% load "|add:library.grouper|add:" %"|add:"}" %}To use these filters, put {{ code }} in your template before using the filter.{% endblocktranslate %}


{% endif %} {% for filter in library.list|dictsort:"name" %}

{{ filter.name }}

{{ filter.title }} {{ filter.body }} {% if not forloop.last %}
{% endif %} {% endfor %}
{% endfor %}
{% endblock %}