mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-17 06:29:53 +02:00
Refactor of webhook signaling system to use the same middleware mechanics of Changelogging
This commit is contained in:
committed by
Jeremy Stretch
parent
9876a2efcd
commit
722d0d5554
@@ -10,8 +10,3 @@ class DCIMConfig(AppConfig):
|
||||
def ready(self):
|
||||
|
||||
import dcim.signals
|
||||
|
||||
# register webhook signals
|
||||
from extras.webhooks import register_signals
|
||||
from .models import Site, Rack, RackGroup, Device, Interface
|
||||
register_signals([Site, Rack, Device, Interface, RackGroup])
|
||||
|
||||
Reference in New Issue
Block a user