Source

django-helper / django_helper / templates / admin / django_helper / model / change_form.html

{% extends "admin/change_form.html" %}
{% load i18n %}

{% block object-tools %}
{% if change %}{% if not popup %}
  <ul class="object-tools">
    <li><a href="history/" class="historylink">{% trans "History" %}</a></li>
    <li><a href="export/models.py" class="historylink">Export models.py</a></li>
    <li><a href="export/admin.py" class="historylink">Export admin.py</a></li>
    {% if has_absolute_url %}
      <li><a href="../../../r/{{content_type_id}}/{{object_id}}/" class="viewsitelink">
          {% trans "View on site" %}</a>
      </li>
    {% endif %}
  </ul>
{% endif %}{% endif %}
{% endblock %}