From 35273cc87f9f35aaccadcce7cc3ea00696fbc11b Mon Sep 17 00:00:00 2001 From: Renato Almeida de Oliveira Date: Thu, 5 Jan 2023 18:26:48 -0300 Subject: [PATCH] Add ExportTemplatesMixin to JournalEntry model (#11251) * Add ExportTemplatesMixin to JournalEntry model * Move mixin ahead of base class Co-authored-by: Jeremy Stretch --- netbox/extras/models/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/extras/models/models.py b/netbox/extras/models/models.py index 699baa11b..607c5d4a0 100644 --- a/netbox/extras/models/models.py +++ b/netbox/extras/models/models.py @@ -514,7 +514,7 @@ class ImageAttachment(WebhooksMixin, ChangeLoggedModel): return objectchange -class JournalEntry(CustomFieldsMixin, CustomLinksMixin, TagsMixin, WebhooksMixin, ChangeLoggedModel): +class JournalEntry(CustomFieldsMixin, CustomLinksMixin, TagsMixin, WebhooksMixin, ExportTemplatesMixin, ChangeLoggedModel): """ A historical remark concerning an object; collectively, these form an object's journal. The journal is used to preserve historical context around an object, and complements NetBox's built-in change logging. For example, you