mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
Remove redundant TreeManager from TenantGroup
This commit is contained in:
parent
b5c6613682
commit
e3e0fbe8c5
@ -4,7 +4,6 @@ from mptt.models import MPTTModel, TreeForeignKey
|
|||||||
|
|
||||||
from extras.utils import extras_features
|
from extras.utils import extras_features
|
||||||
from netbox.models import NestedGroupModel, PrimaryModel
|
from netbox.models import NestedGroupModel, PrimaryModel
|
||||||
from utilities.mptt import TreeManager
|
|
||||||
from utilities.querysets import RestrictedQuerySet
|
from utilities.querysets import RestrictedQuerySet
|
||||||
|
|
||||||
|
|
||||||
@ -40,8 +39,6 @@ class TenantGroup(NestedGroupModel):
|
|||||||
blank=True
|
blank=True
|
||||||
)
|
)
|
||||||
|
|
||||||
objects = TreeManager()
|
|
||||||
|
|
||||||
csv_headers = ['name', 'slug', 'parent', 'description']
|
csv_headers = ['name', 'slug', 'parent', 'description']
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
Loading…
Reference in New Issue
Block a user