From 54472b3806b429f6e60d2ccf95ed175f659a73d8 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Mon, 23 Oct 2017 13:17:51 -0400 Subject: [PATCH] Fixes #1634: Cluster should not be a required field when importing child devices --- netbox/dcim/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/netbox/dcim/forms.py b/netbox/dcim/forms.py index f0b0f6d52..c3a545f7c 100644 --- a/netbox/dcim/forms.py +++ b/netbox/dcim/forms.py @@ -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.',