mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
836478c166
* merge branch develop * bugfix, signals for virtualization's class wasn't correctly defined * updated webhooks for 2.4 and cleanup * updated docs to cover changes to supervisor config * review changes and further cleanup * updated redis connection settings * cleanup settings
18 lines
428 B
Python
18 lines
428 B
Python
from __future__ import unicode_literals
|
|
|
|
from django.apps import AppConfig
|
|
|
|
|
|
class DCIMConfig(AppConfig):
|
|
name = "dcim"
|
|
verbose_name = "DCIM"
|
|
|
|
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])
|