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

Closes #2131: Added created and last_updated fields to DeviceType

This commit is contained in:
Jeremy Stretch
2018-05-30 13:41:14 -04:00
parent 836478c166
commit 8762f1314d
5 changed files with 42 additions and 4 deletions

View File

@@ -234,7 +234,7 @@ class DeviceTypeSerializer(CustomFieldModelSerializer):
fields = [
'id', 'manufacturer', 'model', 'slug', 'part_number', 'u_height', 'is_full_depth', 'interface_ordering',
'is_console_server', 'is_pdu', 'is_network_device', 'subdevice_role', 'comments', 'tags', 'custom_fields',
'instance_count',
'created', 'last_updated', 'instance_count',
]