diff --git a/django/contrib/admin/templates/admin_doc/template_filter_index.html b/django/contrib/admin/templates/admin_doc/template_filter_index.html index f67f14eb3559b..902396d416c92 100644 --- a/django/contrib/admin/templates/admin_doc/template_filter_index.html +++ b/django/contrib/admin/templates/admin_doc/template_filter_index.html @@ -13,7 +13,7 @@

Template filter documentation

{% for library in filter_libraries %}

{% if library.grouper %}{{ library.grouper }}{% else %}Built-in filters{% endif %}

- {% if library.grouper %}

To use these filters, put {% templatetag openblock %} load {{ library.grouper }} {% templatetag closeblock %} in your template before using the filter.


{% endif %} + {% if library.grouper %}

To use these filters, put {% templatetag openblock %} load {{ library.grouper }} {% templatetag closeblock %} in your template before using the filter.


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

{{ filter.name }}

{{ filter.title }}

diff --git a/django/contrib/admin/templates/admin_doc/template_tag_index.html b/django/contrib/admin/templates/admin_doc/template_tag_index.html index 9bd66b70e77ae..ea49529393203 100644 --- a/django/contrib/admin/templates/admin_doc/template_tag_index.html +++ b/django/contrib/admin/templates/admin_doc/template_tag_index.html @@ -13,7 +13,7 @@

Template tag documentation

{% for library in tag_libraries %}

{% if library.grouper %}{{ library.grouper }}{% else %}Built-in tags{% endif %}

- {% if library.grouper %}

To use these tags, put {% templatetag openblock %} load {{ library.grouper }} {% templatetag closeblock %} in your template before using the tag.


{% endif %} + {% if library.grouper %}

To use these tags, put {% templatetag openblock %} load {{ library.grouper }} {% templatetag closeblock %} in your template before using the tag.


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

{{ tag.name }}

{{ tag.title }}

diff --git a/django/contrib/admin/templates/admin_doc/view_index.html b/django/contrib/admin/templates/admin_doc/view_index.html index 47f99350a34ba..1ed5ba2ac12ff 100644 --- a/django/contrib/admin/templates/admin_doc/view_index.html +++ b/django/contrib/admin/templates/admin_doc/view_index.html @@ -29,10 +29,10 @@

Views by URL on {{ site_views.grouper.n {% for view in site_views.list|dictsort:"url" %} {% ifchanged %} -

{{ view.url|escape }}

+

{{ view.url|escape }}

View function: {{ view.module }}.{{ view.name }}

{{ view.title }}

-
+
{% endifchanged %} {% endfor %}