Merge pull request #20047 from netbox-community/19740-platform-nesting
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run

Closes #19740: Enable recursive nesting for platforms
This commit is contained in:
bctiemann
2025-08-12 10:40:27 -04:00
committed by GitHub
22 changed files with 286 additions and 41 deletions
+2 -1
View File
@@ -931,7 +931,8 @@ class ConfigContextTestCase(TestCase, ChangeLoggedFilterSetTests):
Platform(name='Platform 2', slug='platform-2'),
Platform(name='Platform 3', slug='platform-3'),
)
Platform.objects.bulk_create(platforms)
for platform in platforms:
platform.save()
cluster_types = (
ClusterType(name='Cluster Type 1', slug='cluster-type-1'),