mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #5011: Standardized name field lengths across all models
This commit is contained in:
@ -21,10 +21,11 @@ class TenantGroup(MPTTModel, ChangeLoggedModel):
|
||||
An arbitrary collection of Tenants.
|
||||
"""
|
||||
name = models.CharField(
|
||||
max_length=50,
|
||||
max_length=100,
|
||||
unique=True
|
||||
)
|
||||
slug = models.SlugField(
|
||||
max_length=100,
|
||||
unique=True
|
||||
)
|
||||
parent = TreeForeignKey(
|
||||
@ -81,10 +82,11 @@ class Tenant(ChangeLoggedModel, CustomFieldModel):
|
||||
department.
|
||||
"""
|
||||
name = models.CharField(
|
||||
max_length=30,
|
||||
max_length=100,
|
||||
unique=True
|
||||
)
|
||||
slug = models.SlugField(
|
||||
max_length=100,
|
||||
unique=True
|
||||
)
|
||||
group = models.ForeignKey(
|
||||
|
Reference in New Issue
Block a user