{# See change_form.html for why this is not under admin///. #} {% extends "admin/change_list.html" %} {% load i18n %} {% block object-tools-items %} {% for button in keycloak_sync_buttons %} {# POST forms rather than links: these change state, and Django does not CSRF-protect GET. #}
  • {% csrf_token %}
  • {% endfor %} {{ block.super }} {% endblock %}