Fix incorrect queryset definition
This commit is contained in:
parent
d85c3830d0
commit
eeaa2a8c87
|
@ -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')
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue