{% extends "admin/change_list.html" %} {% load staticfiles %} {% block extrahead %} {{ block.super }} {% endblock %} {% block object-tools-items %} {% for tool in objectactions %}
  • {% if tool.custom_attrs.use_form|default_if_none:True %}
    {% csrf_token %}
    {% else %} {{ tool.label|capfirst }} {% endif %}
  • {% endfor %} {{ block.super }} {% endblock %}