From abd5f17916637b02810ddb8e61271744a407097f Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 12 Jul 2018 13:09:13 -0400 Subject: [PATCH] Enabled webhooks for all (and only) primary models --- netbox/extras/constants.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/netbox/extras/constants.py b/netbox/extras/constants.py index 6807af9d9..d4fd29119 100644 --- a/netbox/extras/constants.py +++ b/netbox/extras/constants.py @@ -119,9 +119,9 @@ WEBHOOK_CT_CHOICES = ( # Models which support registered webhooks WEBHOOK_MODELS = ( 'provider', 'circuit', # Circuits - 'site', 'rack', 'rackgroup', 'device', 'interface', # DCIM - 'aggregate', 'prefix', 'ipaddress', 'vlan', 'vlangroup', 'vrf', # IPAM - 'service', - 'tenant', 'tenantgroup', # Tenancy - 'cluster', 'clustergroup', 'virtualmachine', # Virtualization + 'site', 'rack', 'devicetype', 'device', 'virtualchassis', # DCIM + 'aggregate', 'prefix', 'ipaddress', 'vlan', 'vrf', 'service', # IPAM + 'secret', # Secrets + 'tenant', # Tenancy + 'cluster', 'virtualmachine', # Virtualization )