DeviceForm.manufacturer should not be a required field
This commit is contained in:
parent
a208cbdf0b
commit
c14496d0c4
|
|
@ -1549,6 +1549,7 @@ class DeviceForm(BootstrapMixin, TenancyForm, CustomFieldModelForm):
|
|||
)
|
||||
manufacturer = forms.ModelChoiceField(
|
||||
queryset=Manufacturer.objects.all(),
|
||||
required=False,
|
||||
widget=APISelect(
|
||||
api_url="/api/dcim/manufacturers/",
|
||||
filter_for={
|
||||
|
|
|
|||
Loading…
Reference in New Issue