App declaration for nautobot_device_lifecycle_mgmt.
NautobotDeviceLifecycleManagementConfig
Bases: NautobotAppConfig
App configuration for the Device Lifecycle Management app.
Source code in nautobot_device_lifecycle_mgmt/__init__.py
| class NautobotDeviceLifecycleManagementConfig(NautobotAppConfig):
"""App configuration for the Device Lifecycle Management app."""
name = "nautobot_device_lifecycle_mgmt"
verbose_name = "Nautobot Device Lifecycle Management"
version = __version__
author = "Network to Code, LLC"
description = "Manages device lifecycle of Nautobot Devices and Components."
base_url = "nautobot-device-lifecycle-mgmt"
required_settings = []
min_version = "2.0.0"
max_version = "2.9999"
default_settings = {
"expired_field": "end_of_support",
"barchart_bar_width": 0.1,
"barchart_width": 12,
"barchart_height": 5,
}
caching_config = {}
def ready(self):
"""Register custom signals."""
from .signals import post_migrate_create_relationships # pylint: disable=import-outside-toplevel
nautobot_database_ready.connect(post_migrate_create_relationships, sender=self)
super().ready()
|
ready()
Register custom signals.
Source code in nautobot_device_lifecycle_mgmt/__init__.py
| def ready(self):
"""Register custom signals."""
from .signals import post_migrate_create_relationships # pylint: disable=import-outside-toplevel
nautobot_database_ready.connect(post_migrate_create_relationships, sender=self)
super().ready()
|