#17413: Remove redundant name & slug fields from Platform model

This commit is contained in:
Jeremy Stretch 2025-08-12 13:26:40 -04:00
parent efcf9e5b3b
commit 62d93d607c

View File

@ -438,15 +438,6 @@ class Platform(NestedGroupModel):
null=True,
help_text=_('Optionally limit this platform to devices of a certain manufacturer')
)
# Override name & slug from OrganizationalModel to not enforce uniqueness
name = models.CharField(
verbose_name=_('name'),
max_length=100
)
slug = models.SlugField(
verbose_name=_('slug'),
max_length=100
)
config_template = models.ForeignKey(
to='extras.ConfigTemplate',
on_delete=models.PROTECT,