Browse Source

Enabled webhooks for all (and only) primary models

Jeremy Stretch 7 years ago
parent
commit
abd5f17916
1 changed files with 5 additions and 5 deletions
  1. 5 5
      netbox/extras/constants.py

+ 5 - 5
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
 )