This commit is contained in:
jeremystretch
2023-03-20 15:57:08 -04:00
parent ecb8f1599d
commit 9ce29f9edc
4 changed files with 12 additions and 5 deletions
+3 -1
View File
@@ -280,12 +280,14 @@ class ManufacturerImportForm(NetBoxModelImportForm):
class DeviceTypeImportForm(NetBoxModelImportForm):
manufacturer = forms.ModelChoiceField(
queryset=Manufacturer.objects.all(),
to_field_name='name'
to_field_name='name',
help_text=_('The manufacturer which produces this device type')
)
default_platform = forms.ModelChoiceField(
queryset=Platform.objects.all(),
to_field_name='name',
required=False,
help_text=_('The default platform for devices of this type (optional)')
)
class Meta: