Ticket #6636: 6636.diff

File 6636.diff, 1009 bytes (added by Julie Pichon, 14 years ago)
  • django/contrib/admin/templates/admin/change_form.html

     
    4545    {{ adminform.form.non_field_errors }}
    4646{% endif %}
    4747
    48 {% for fieldset in adminform %}
    49   {% include "admin/includes/fieldset.html" %}
    50 {% endfor %}
     48{% block field_sets %}
     49    {% for fieldset in adminform %}
     50        {% include "admin/includes/fieldset.html" %}
     51    {% endfor %}
     52{% endblock %}
    5153
    5254{% block after_field_sets %}{% endblock %}
    5355
    54 {% for inline_admin_formset in inline_admin_formsets %}
    55     {% include inline_admin_formset.opts.template %}
    56 {% endfor %}
     56{% block inline_field_sets %}
     57    {% for inline_admin_formset in inline_admin_formsets %}
     58        {% include inline_admin_formset.opts.template %}
     59    {% endfor %}
     60{% endblock %}
    5761
    5862{% block after_related_objects %}{% endblock %}
    5963
Back to Top