-
{% block object-tools-items %}
- {% url opts|admin_urlname:'history' original.pk|admin_urlquote as history_url %} {% trans "History" %} {% if original.url %}
- {% trans "View on site" %} {% endif %} {% endblock %}
{% extends "admin/polymorphic_tree/change_form.html" %} {% load i18n admin_urls admin_modify %} {% comment %} Override the content block, so all templates will have the same set of blocks. This adds: * after_first_fieldset * the check of "original.is_published" in the toolbar {% endcomment %} {% block content %}