Standardize existing description fields to a length of 200 chars

This commit is contained in:
Jeremy Stretch
2020-03-13 15:49:58 -04:00
parent 78d3dafb2e
commit 16bbdf7896
8 changed files with 21 additions and 22 deletions

View File

@@ -182,7 +182,7 @@ class Site(ChangeLoggedModel, CustomFieldModel):
blank=True
)
description = models.CharField(
max_length=100,
max_length=200,
blank=True
)
physical_address = models.CharField(
@@ -362,7 +362,7 @@ class RackRole(ChangeLoggedModel):
)
color = ColorField()
description = models.CharField(
max_length=100,
max_length=200,
blank=True,
)
@@ -785,7 +785,7 @@ class RackReservation(ChangeLoggedModel):
on_delete=models.PROTECT
)
description = models.CharField(
max_length=100
max_length=200
)
csv_headers = ['site', 'rack_group', 'rack', 'units', 'tenant', 'user', 'description']
@@ -1142,7 +1142,7 @@ class DeviceRole(ChangeLoggedModel):
help_text='Virtual machines may be assigned to this role'
)
description = models.CharField(
max_length=100,
max_length=200,
blank=True,
)

View File

@@ -33,7 +33,7 @@ __all__ = (
class ComponentModel(models.Model):
description = models.CharField(
max_length=100,
max_length=200,
blank=True
)