mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Extend VLANGroup to support cluster/cluster group assignment
This commit is contained in:
@@ -35,8 +35,7 @@ class VLANGroup(OrganizationalModel):
|
||||
to=ContentType,
|
||||
on_delete=models.CASCADE,
|
||||
limit_choices_to=Q(
|
||||
app_label='dcim',
|
||||
model__in=['region', 'sitegroup', 'site', 'location', 'rack']
|
||||
model__in=['region', 'sitegroup', 'site', 'location', 'rack', 'clustergroup', 'cluster']
|
||||
),
|
||||
blank=True,
|
||||
null=True
|
||||
|
Reference in New Issue
Block a user