{% extends "base.html" %} {% block content %}

Delete Confirmation

{{ response.message }}

{% if response.related_info %}
This object is related to the following models:
    {% for related in response.related_info %}
  • Model: {{ related.related_model }}
    Relation field: {{ related.relation_field }}
    Related objects:
  • {% endfor %}

Please confirm if you want to delete this object or if you want to resolve the relationships first.

{% else %}

There are no relationships preventing the deletion of this object. It can be safely deleted.

{% endif %}
Cancel
{% endblock %}