{% extends cfg_change_form_base %} {% comment %} PydanticAdmin change form (CfgActionsMixin). cfg_change_form_base is the template Django would have used: the project's change_form_template, or admin///change_form.html, admin//change_form.html, admin/change_form.html. {% endcomment %} {% block object-tools-items %} {% include "django_admin/includes/object_tools_actions.html" with cfg_actions=cfg_actions_detail %} {{ block.super }} {% endblock %} {% block content %} {% if adminform.model_admin.change_form_outer_before_template %}
{% include adminform.model_admin.change_form_outer_before_template %}
{% endif %} {{ block.super }} {% if adminform.model_admin.change_form_outer_after_template %}
{% include adminform.model_admin.change_form_outer_after_template %}
{% endif %} {% endblock %} {% block form_top %} {{ block.super }} {% if adminform.model_admin.change_form_before_template %}
{% include adminform.model_admin.change_form_before_template %}
{% endif %} {% endblock %} {% block after_related_objects %} {{ block.super }} {% if adminform.model_admin.change_form_after_template %}
{% include adminform.model_admin.change_form_after_template %}
{% endif %} {% endblock %}