From 81c027e7cffd73238ca108ff3bcf2ae4344a25c4 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 12 Apr 2018 12:45:25 -0400 Subject: [PATCH] Fixes #2023: Manufacturer should not be a required field when importing platforms --- netbox/dcim/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/forms.py b/netbox/dcim/forms.py index b360108bf..05dc0ea6f 100644 --- a/netbox/dcim/forms.py +++ b/netbox/dcim/forms.py @@ -706,7 +706,7 @@ class PlatformCSVForm(forms.ModelForm): slug = SlugField() manufacturer = forms.ModelChoiceField( queryset=Manufacturer.objects.all(), - required=True, + required=False, to_field_name='name', help_text='Manufacturer name', error_messages={