Fixes #15717: Allow VM with Site to Cluster without Site

This commit is contained in:
Ryan Gillespie 2024-06-04 17:02:49 +00:00
parent b816a5d0c6
commit 3311a97be0

View File

@ -177,9 +177,6 @@ class VirtualMachineForm(TenancyForm, NetBoxModelForm):
queryset=Cluster.objects.all(),
required=False,
selector=True,
query_params={
'site_id': '$site',
}
)
device = DynamicModelChoiceField(
label=_('Device'),