{% extends "admin_doc/base_docs.html" %} {% load i18n %} {% block coltype %}colSM{% endblock %} {% block breadcrumbs %} {% endblock %} {% block title %}{% trans 'Template filters' %}{% endblock %} {% block content_title %}{% trans 'Template filters' %}{% endblock %} {% block docs_content %} {% regroup filters|dictsort:"library" by library as filter_libraries %}
{% for library in filter_libraries %}
{% for view in ns_views.list|dictsort:"url" %} {% ifchanged %}

{{ view.url }}

{% blocktrans with view.full_name as full_name and view.url_name as url_name %} View function: {{ full_name }}. Name: {{ url_name }}. {% endblocktrans %}

{{ view.title }}


{% endifchanged %} {% endfor %} {% if library.grouper %}

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


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

{{ filter.name }}

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