{% extends 'admin/model/list.html' %} {#- In the default order, sorted by settings, every settings entry gets a header row above its sites. The header row takes the the parent template opened for the site, the site follows in a of its own. -#} {% block list_row scoped %} {% if sort_column is none and (loop.first or loop.previtem.settings_master != row.settings_master) %} Settings: {{ row.settings_master.name if row.settings_master else '-' }} {% endif %} {{ super() }} {% endblock %}