1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #2857: Add display_name to DeviceType API serializer; fix DeviceType list for bulk device edit

This commit is contained in:
Jeremy Stretch
2019-02-06 10:23:30 -05:00
parent 3d2948daf3
commit f733d5a4da
11 changed files with 14 additions and 12 deletions

View File

@ -1599,7 +1599,8 @@ class DeviceBulkEditForm(BootstrapMixin, AddRemoveTagsForm, CustomFieldBulkEditF
required=False,
label='Type',
widget=APISelect(
api_url="/api/dcim/device-types/"
api_url="/api/dcim/device-types/",
display_field='display_name'
)
)
device_role = forms.ModelChoiceField(