{% extends "django.contrib.admin:admin/delete_confirmation.html" %} {% load admin_urls i18n %} {% block bodyclass %}{{block.super}}{% if opts %} app-{{opts.app_label}} model-{{opts.model_name}}{% endif %} delete-confirmation{% endblock %} {% block form_title %} {% blocktrans %} Delete {{object_name}} {% endblocktrans %} {% endblock form_title %} {% block content %} {% url opts|admin_urlname:'change' object.pk|admin_urlquote as back_url %} {% if perms_lacking %}

{% blocktrans %} You don't have permission to delete the {{object_name}} "{{object}}". {% endblocktrans %}

{% blocktrans %} Deleting this would also delete some related objects, but you don't have permission to delete any of the following: {% endblocktrans %}

{% trans "Go back" %}
{% elif protected %}

{% blocktrans %} You can't delete the {{object_name}} "{{object}}". {% endblocktrans %}

{% blocktrans %} Deleting this would require deleting the following protected related objects, which cannot be deleted: {% endblocktrans %}

{% trans "Go back" %}
{% else %}
{% csrf_token %} {% if is_popup %} {% endif %} {% if to_field %} {% endif %}

{% blocktrans %} Are you sure you want to delete the {{object_name}} "{{object}}"? {% endblocktrans %}

{% blocktrans %} This will delete all of the following entries in the database. This cannot be undone! {% endblocktrans %}

    {{deleted_objects|unordered_list}}
{% trans "No, don't delete" %}
{% endif %} {% endblock content %}