mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-28 20:32:07 +01:00
Closes #5011: Standardized name field lengths across all models
This commit is contained in:
@@ -35,10 +35,11 @@ class ClusterType(ChangeLoggedModel):
|
||||
A type of Cluster.
|
||||
"""
|
||||
name = models.CharField(
|
||||
max_length=50,
|
||||
max_length=100,
|
||||
unique=True
|
||||
)
|
||||
slug = models.SlugField(
|
||||
max_length=100,
|
||||
unique=True
|
||||
)
|
||||
description = models.CharField(
|
||||
@@ -76,10 +77,11 @@ class ClusterGroup(ChangeLoggedModel):
|
||||
An organizational group of Clusters.
|
||||
"""
|
||||
name = models.CharField(
|
||||
max_length=50,
|
||||
max_length=100,
|
||||
unique=True
|
||||
)
|
||||
slug = models.SlugField(
|
||||
max_length=100,
|
||||
unique=True
|
||||
)
|
||||
description = models.CharField(
|
||||
|
||||
Reference in New Issue
Block a user