diff --git a/netbox/dcim/models/device_component_templates.py b/netbox/dcim/models/device_component_templates.py index b02f1bb79..d99d6b7c3 100644 --- a/netbox/dcim/models/device_component_templates.py +++ b/netbox/dcim/models/device_component_templates.py @@ -76,7 +76,7 @@ class ComponentTemplateModel(ChangeLoggedModel): return super().to_objectchange(action, related_object=device_type) -@extras_features('custom_fields', 'export_templates', 'webhooks') +@extras_features('webhooks') class ConsolePortTemplate(ComponentTemplateModel): """ A template for a ConsolePort to be created for a new Device. @@ -100,7 +100,7 @@ class ConsolePortTemplate(ComponentTemplateModel): ) -@extras_features('custom_fields', 'export_templates', 'webhooks') +@extras_features('webhooks') class ConsoleServerPortTemplate(ComponentTemplateModel): """ A template for a ConsoleServerPort to be created for a new Device. @@ -124,7 +124,7 @@ class ConsoleServerPortTemplate(ComponentTemplateModel): ) -@extras_features('custom_fields', 'export_templates', 'webhooks') +@extras_features('webhooks') class PowerPortTemplate(ComponentTemplateModel): """ A template for a PowerPort to be created for a new Device. @@ -171,7 +171,7 @@ class PowerPortTemplate(ComponentTemplateModel): }) -@extras_features('custom_fields', 'export_templates', 'webhooks') +@extras_features('webhooks') class PowerOutletTemplate(ComponentTemplateModel): """ A template for a PowerOutlet to be created for a new Device. @@ -223,7 +223,7 @@ class PowerOutletTemplate(ComponentTemplateModel): ) -@extras_features('custom_fields', 'export_templates', 'webhooks') +@extras_features('webhooks') class InterfaceTemplate(ComponentTemplateModel): """ A template for a physical data interface on a new Device. @@ -258,7 +258,7 @@ class InterfaceTemplate(ComponentTemplateModel): ) -@extras_features('custom_fields', 'export_templates', 'webhooks') +@extras_features('webhooks') class FrontPortTemplate(ComponentTemplateModel): """ Template for a pass-through port on the front of a new Device. @@ -319,7 +319,7 @@ class FrontPortTemplate(ComponentTemplateModel): ) -@extras_features('custom_fields', 'export_templates', 'webhooks') +@extras_features('webhooks') class RearPortTemplate(ComponentTemplateModel): """ Template for a pass-through port on the rear of a new Device. @@ -350,7 +350,7 @@ class RearPortTemplate(ComponentTemplateModel): ) -@extras_features('custom_fields', 'export_templates', 'webhooks') +@extras_features('webhooks') class DeviceBayTemplate(ComponentTemplateModel): """ A template for a DeviceBay to be created for a new parent Device.