diff --git a/netbox/circuits/models.py b/netbox/circuits/models.py index 1ca98efd6..d19841e4f 100644 --- a/netbox/circuits/models.py +++ b/netbox/circuits/models.py @@ -231,6 +231,7 @@ class Circuit(PrimaryModel): return self._get_termination('Z') +@extras_features('webhooks') class CircuitTermination(ChangeLoggedModel, PathEndpoint, CableTermination): circuit = models.ForeignKey( to='circuits.Circuit', diff --git a/netbox/extras/models/models.py b/netbox/extras/models/models.py index 1fd183b8a..49dd49a42 100644 --- a/netbox/extras/models/models.py +++ b/netbox/extras/models/models.py @@ -379,6 +379,7 @@ class ImageAttachment(BigIDModel): # Config contexts # +@extras_features('webhooks') class ConfigContext(ChangeLoggedModel): """ A ConfigContext represents a set of arbitrary data available to any Device or VirtualMachine matching its assigned diff --git a/netbox/extras/models/tags.py b/netbox/extras/models/tags.py index d7266f359..4c61f7f88 100644 --- a/netbox/extras/models/tags.py +++ b/netbox/extras/models/tags.py @@ -2,6 +2,7 @@ from django.db import models from django.utils.text import slugify from taggit.models import TagBase, GenericTaggedItemBase +from extras.utils import extras_features from netbox.models import BigIDModel, ChangeLoggedModel from utilities.choices import ColorChoices from utilities.fields import ColorField @@ -12,6 +13,7 @@ from utilities.querysets import RestrictedQuerySet # Tags # +@extras_features('webhooks') class Tag(ChangeLoggedModel, TagBase): color = ColorField( default=ColorChoices.COLOR_GREY