mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-19 01:58:43 -06:00
Closes #19740: Enable recursive nesting for platforms
This commit is contained in:
@@ -424,7 +424,7 @@ class DeviceRole(NestedGroupModel):
|
||||
verbose_name_plural = _('device roles')
|
||||
|
||||
|
||||
class Platform(OrganizationalModel):
|
||||
class Platform(NestedGroupModel):
|
||||
"""
|
||||
Platform refers to the software or firmware running on a Device. For example, "Cisco IOS-XR" or "Juniper Junos". A
|
||||
Platform may optionally be associated with a particular Manufacturer.
|
||||
@@ -454,6 +454,8 @@ class Platform(OrganizationalModel):
|
||||
null=True
|
||||
)
|
||||
|
||||
clone_fields = ('parent', 'description')
|
||||
|
||||
class Meta:
|
||||
ordering = ('name',)
|
||||
verbose_name = _('platform')
|
||||
|
||||
Reference in New Issue
Block a user