Fixes #2857: Add display_name to DeviceType API serializer; fix DeviceType list for bulk device edit
This commit is contained in:
@@ -980,7 +980,7 @@ class DeviceType(ChangeLoggedModel, CustomFieldModel):
|
||||
})
|
||||
|
||||
@property
|
||||
def full_name(self):
|
||||
def display_name(self):
|
||||
return '{} {}'.format(self.manufacturer.name, self.model)
|
||||
|
||||
@property
|
||||
|
Reference in New Issue
Block a user