{% extends "admin/change_form.html" %} {% load i18n admin_urls %} {% block object-tools-items %} {{ block.super }} {# Cloning changes the database, so it has to be a POST -- a plain link #} {# would let a foreign page create objects through an . #} {# The block renders before the main
opens, so this one is not #} {# nested. #}
  • {% csrf_token %}
  • {% endblock %}