mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fix incorrect queryset definition
This commit is contained in:
@ -482,7 +482,7 @@ class VLANDeviceMappingImportForm(NetBoxModelImportForm):
|
|||||||
)
|
)
|
||||||
vlan = CSVModelChoiceField(
|
vlan = CSVModelChoiceField(
|
||||||
label=_('VLAN'),
|
label=_('VLAN'),
|
||||||
queryset=VLANGroup.objects.all(),
|
queryset=VLAN.objects.all(),
|
||||||
to_field_name='name',
|
to_field_name='name',
|
||||||
help_text=_('Assigned VLAN')
|
help_text=_('Assigned VLAN')
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user