mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Bump platform name/slug max length to 100 chars (#3318)
This commit is contained in:
@ -4,7 +4,7 @@ v2.6.4 (FUTURE)
|
|||||||
|
|
||||||
* [#2160](https://github.com/netbox-community/netbox/issues/2160) - Add bulk editing for interface VLAN assignment
|
* [#2160](https://github.com/netbox-community/netbox/issues/2160) - Add bulk editing for interface VLAN assignment
|
||||||
* [#3027](https://github.com/netbox-community/netbox/issues/3028) - Add `local_context_data` boolean filter for devices
|
* [#3027](https://github.com/netbox-community/netbox/issues/3028) - Add `local_context_data` boolean filter for devices
|
||||||
* [#3318](https://github.com/netbox-community/netbox/issues/3318) - Increase length of platform name and slug to 64 characters
|
* [#3318](https://github.com/netbox-community/netbox/issues/3318) - Increase length of platform name and slug to 100 characters
|
||||||
* [#3341](https://github.com/netbox-community/netbox/issues/3341) - Enable inline VLAN assignment while editing an interface
|
* [#3341](https://github.com/netbox-community/netbox/issues/3341) - Enable inline VLAN assignment while editing an interface
|
||||||
|
|
||||||
## Bug Fixes
|
## Bug Fixes
|
||||||
|
@ -13,11 +13,11 @@ class Migration(migrations.Migration):
|
|||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='platform',
|
model_name='platform',
|
||||||
name='name',
|
name='name',
|
||||||
field=models.CharField(max_length=64, unique=True),
|
field=models.CharField(max_length=100, unique=True),
|
||||||
),
|
),
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='platform',
|
model_name='platform',
|
||||||
name='slug',
|
name='slug',
|
||||||
field=models.SlugField(max_length=64, unique=True),
|
field=models.SlugField(max_length=100, unique=True),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
@ -1385,12 +1385,12 @@ class Platform(ChangeLoggedModel):
|
|||||||
specifying a NAPALM driver.
|
specifying a NAPALM driver.
|
||||||
"""
|
"""
|
||||||
name = models.CharField(
|
name = models.CharField(
|
||||||
max_length=64,
|
max_length=100,
|
||||||
unique=True
|
unique=True
|
||||||
)
|
)
|
||||||
slug = models.SlugField(
|
slug = models.SlugField(
|
||||||
unique=True,
|
unique=True,
|
||||||
max_length=64
|
max_length=100
|
||||||
)
|
)
|
||||||
manufacturer = models.ForeignKey(
|
manufacturer = models.ForeignKey(
|
||||||
to='dcim.Manufacturer',
|
to='dcim.Manufacturer',
|
||||||
|
Reference in New Issue
Block a user