{# Please keep this template in sync with django/contrib/admin one #} {% extends "admin/base_site.html" %} {% load i18n l10n admin_urls static %} {% block extrahead %} {{ block.super }} {{ media }} {% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} delete-confirmation delete-selected-confirmation{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %} {% if perms_lacking %}

{% blocktrans %}Deleting the selected {{ objects_name }} would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}

{% elif protected %}

{% blocktrans %}Deleting the selected {{ objects_name }} would require deleting the following protected related objects:{% endblocktrans %}

{% else %}

{% blocktrans %}Are you sure you want to delete the selected {{ objects_name }}? All of the following objects and their related items will be deleted:{% endblocktrans %}

{% include "admin/includes/object_delete_summary.html" %}

{% trans "Objects" %}

{% for deletable_object in deletable_objects %} {% endfor %}
{% csrf_token %}
{% for obj in queryset %} {% endfor %} {% trans "No, take me back" %}
{% endif %} {% endblock %}