Fixes #8425 - Fix exception when viewing change list/records with removed plugins

This commit is contained in:
Daniel Sheppard
2022-02-02 11:18:41 -06:00
parent 98413f0c09
commit 706f6a7525
3 changed files with 8 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ CONFIGCONTEXT_ACTIONS = """
"""
OBJECTCHANGE_OBJECT = """
{% if record.changed_object.get_absolute_url %}
{% if record.changed_object and record.changed_object.get_absolute_url %}
<a href="{{ record.changed_object.get_absolute_url }}">{{ record.object_repr }}</a>
{% else %}
{{ record.object_repr }}