Răsfoiți Sursa

Add ExportTemplatesMixin to JournalEntry model (#11251)

* Add ExportTemplatesMixin to JournalEntry model

* Move mixin ahead of base class

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
Renato Almeida de Oliveira 3 ani în urmă
părinte
comite
35273cc87f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      netbox/extras/models/models.py

+ 1 - 1
netbox/extras/models/models.py

@@ -514,7 +514,7 @@ class ImageAttachment(WebhooksMixin, ChangeLoggedModel):
         return objectchange
         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
     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
     preserve historical context around an object, and complements NetBox's built-in change logging. For example, you