mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 19:36:26 -06:00
Fixes #1634: Cluster should not be a required field when importing child devices
This commit is contained in:
parent
444cf949e0
commit
f6d7908a61
@ -953,6 +953,7 @@ class ChildDeviceCSVForm(BaseDeviceCSVForm):
|
||||
cluster = forms.ModelChoiceField(
|
||||
queryset=Cluster.objects.all(),
|
||||
to_field_name='name',
|
||||
required=False,
|
||||
help_text='Virtualization cluster',
|
||||
error_messages={
|
||||
'invalid_choice': 'Invalid cluster name.',
|
||||
|
Loading…
Reference in New Issue
Block a user