Skip to content

Commit 74fb707

Browse files
abhi1693jeremystretch
authored andcommitted
adds config_template to device serializer #13056
1 parent ecb4a08 commit 74fb707

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

netbox/dcim/api/serializers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,8 @@ class Meta(DeviceSerializer.Meta):
698698
'id', 'url', 'display', 'name', 'device_type', 'device_role', 'tenant', 'platform', 'serial', 'asset_tag',
699699
'site', 'location', 'rack', 'position', 'face', 'parent_device', 'status', 'airflow', 'primary_ip',
700700
'primary_ip4', 'primary_ip6', 'cluster', 'virtual_chassis', 'vc_position', 'vc_priority', 'description',
701-
'comments', 'local_context_data', 'tags', 'custom_fields', 'config_context', 'created', 'last_updated',
701+
'comments', 'local_context_data', 'tags', 'custom_fields', 'config_context', 'config_template',
702+
'created', 'last_updated',
702703
]
703704

704705
@extend_schema_field(serializers.JSONField(allow_null=True))

0 commit comments

Comments
 (0)