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
15 lines
387 B
Python
15 lines
387 B
Python
from __future__ import unicode_literals
|
|
|
|
from django.apps import AppConfig
|
|
|
|
|
|
class VirtualizationConfig(AppConfig):
|
|
name = 'virtualization'
|
|
|
|
def ready(self):
|
|
|
|
# register webhook signals
|
|
from extras.webhooks import register_signals
|
|
from .models import Cluster, ClusterGroup, VirtualMachine
|
|
register_signals([Cluster, VirtualMachine, ClusterGroup])
|