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

{% translate 'Template tag documentation' %}

{% regroup tags|dictsort:"library" by library as tag_libraries %}
{% for library in tag_libraries %}

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

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

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

{% if library.grouper %}

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

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

{{ tag.name }}

{{ tag.title|striptags }}
{{ tag.body }} {% if not forloop.last %} {% endif %} {% endfor %}

{% endfor %}
{% endblock %}