Fixed the breadcrumb of the object_history template.

NOTE: this could conflict with projects that use django-reversion,
if the `VersionAdmin` is the last in the inheritance chain.
This commit is contained in:
Diederik van der Boor
2016-02-18 18:17:08 +01:00
parent 88bb23b506
commit ccda52d91e
4 changed files with 55 additions and 2 deletions
@@ -0,0 +1,6 @@
{% extends "admin/object_history.html" %}
{% load polymorphic_admin_tags %}
{% block breadcrumbs %}
{% breadcrumb_scope base_opts %}{{ block.super }}{% endbreadcrumb_scope %}
{% endblock %}