Skip to content

Commit 01ba4ce

Browse files
committed
Fixes #14242: Enable export templates for contact assignments
1 parent fc7d6e1 commit 01ba4ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netbox/tenancy/models/contacts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from django.utils.translation import gettext_lazy as _
66

77
from netbox.models import ChangeLoggedModel, NestedGroupModel, OrganizationalModel, PrimaryModel
8-
from netbox.models.features import TagsMixin
8+
from netbox.models.features import ExportTemplatesMixin, TagsMixin
99
from tenancy.choices import *
1010

1111
__all__ = (
@@ -109,7 +109,7 @@ def get_absolute_url(self):
109109
return reverse('tenancy:contact', args=[self.pk])
110110

111111

112-
class ContactAssignment(ChangeLoggedModel, TagsMixin):
112+
class ContactAssignment(ChangeLoggedModel, ExportTemplatesMixin, TagsMixin):
113113
content_type = models.ForeignKey(
114114
to=ContentType,
115115
on_delete=models.CASCADE

0 commit comments

Comments
 (0)