diff --git a/django/contrib/admin/templates/admin/change_form.html b/django/contrib/admin/templates/admin/change_form.html index fb278b42bed..b32f76d2c27 100644 --- a/django/contrib/admin/templates/admin/change_form.html +++ b/django/contrib/admin/templates/admin/change_form.html @@ -45,15 +45,19 @@ {{ adminform.form.non_field_errors }} {% endif %} +{% block field_sets %} {% for fieldset in adminform %} {% include "admin/includes/fieldset.html" %} {% endfor %} +{% endblock %} {% block after_field_sets %}{% endblock %} +{% block inline_field_sets %} {% for inline_admin_formset in inline_admin_formsets %} {% include inline_admin_formset.opts.template %} {% endfor %} +{% endblock %} {% block after_related_objects %}{% endblock %}