From 206201a6593d6bb1486f4cc253a55be6dbfb3b08 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Tue, 12 Aug 2025 13:26:40 -0400 Subject: [PATCH] #17413: Remove redundant name & slug fields from Platform model --- netbox/dcim/models/devices.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/netbox/dcim/models/devices.py b/netbox/dcim/models/devices.py index cfebc4a9c..be93f33b9 100644 --- a/netbox/dcim/models/devices.py +++ b/netbox/dcim/models/devices.py @@ -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,