Sfoglia il codice sorgente

Remove redundant TreeManager from TenantGroup

Jeremy Stretch 5 anni fa
parent
commit
4397d3da02
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      netbox/tenancy/models.py

+ 0 - 3
netbox/tenancy/models.py

@@ -4,7 +4,6 @@ from mptt.models import MPTTModel, TreeForeignKey
 
 from extras.utils import extras_features
 from netbox.models import NestedGroupModel, PrimaryModel
-from utilities.mptt import TreeManager
 from utilities.querysets import RestrictedQuerySet
 
 
@@ -40,8 +39,6 @@ class TenantGroup(NestedGroupModel):
         blank=True
     )
 
-    objects = TreeManager()
-
     csv_headers = ['name', 'slug', 'parent', 'description']
 
     class Meta: