{% extends "admin/change_list.html" %} {% load i18n %} {% comment %} Adds a "Create starter configuration" button to the profile changelist. A fresh install renders the control from built-in defaults but shows an empty admin, which reads as "broken". This one click seeds a profile + published revision per scope so the admin mirrors the button that is already visible. The POST target is namespaced and CSRF-protected; the action is idempotent. {% endcomment %} {% block object-tools-items %} {% if has_add_permission %}
  • {% csrf_token %}
  • {% endif %} {{ block.super }} {% endblock %}