From eeaa2a8c87895c114cc5158330ffff7a35df8f3e Mon Sep 17 00:00:00 2001 From: Daniel Sheppard Date: Fri, 1 Dec 2023 15:30:02 -0600 Subject: [PATCH] Fix incorrect queryset definition --- netbox/ipam/forms/bulk_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/ipam/forms/bulk_import.py b/netbox/ipam/forms/bulk_import.py index c9f272a19..fce4b28e3 100644 --- a/netbox/ipam/forms/bulk_import.py +++ b/netbox/ipam/forms/bulk_import.py @@ -482,7 +482,7 @@ class VLANDeviceMappingImportForm(NetBoxModelImportForm): ) vlan = CSVModelChoiceField( label=_('VLAN'), - queryset=VLANGroup.objects.all(), + queryset=VLAN.objects.all(), to_field_name='name', help_text=_('Assigned VLAN') )