mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-25 02:41:43 +01:00
- Adopt Ruff `I` (isort) rules for consistent import sorting - Add two `# isort: split` boundaries to keep required imports pinned in `__init__.py` modules
14 lines
285 B
Python
14 lines
285 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class TenancyConfig(AppConfig):
|
|
name = 'tenancy'
|
|
|
|
def ready(self):
|
|
from netbox.models.features import register_models
|
|
|
|
from . import search # noqa: F401
|
|
|
|
# Register models
|
|
register_models(*self.get_models())
|