1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Rename PrimaryModel to NetBoxModel

This commit is contained in:
jeremystretch
2022-01-26 20:57:14 -05:00
parent a795b95f7e
commit c5650bb278
20 changed files with 66 additions and 64 deletions

View File

@@ -3,7 +3,7 @@ from django.db import models
from django.urls import reverse
from mptt.models import TreeForeignKey
from netbox.models import NestedGroupModel, PrimaryModel
from netbox.models import NestedGroupModel, NetBoxModel
__all__ = (
'Tenant',
@@ -43,7 +43,7 @@ class TenantGroup(NestedGroupModel):
return reverse('tenancy:tenantgroup', args=[self.pk])
class Tenant(PrimaryModel):
class Tenant(NetBoxModel):
"""
A Tenant represents an organization served by the NetBox owner. This is typically a customer or an internal
department.