mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-09 13:22:18 -06:00
Include connector in CableTermination serializer
This commit is contained in:
@@ -61,11 +61,12 @@ class CableTerminationSerializer(NetBoxModelSerializer):
|
|||||||
model = CableTermination
|
model = CableTermination
|
||||||
fields = [
|
fields = [
|
||||||
'id', 'url', 'display', 'cable', 'cable_end', 'termination_type', 'termination_id',
|
'id', 'url', 'display', 'cable', 'cable_end', 'termination_type', 'termination_id',
|
||||||
'termination', 'positions', 'created', 'last_updated',
|
'termination', 'connector', 'positions', 'created', 'last_updated',
|
||||||
]
|
]
|
||||||
read_only_fields = fields
|
read_only_fields = fields
|
||||||
brief_fields = (
|
brief_fields = (
|
||||||
'id', 'url', 'display', 'cable', 'cable_end', 'positions', 'termination_type', 'termination_id',
|
'id', 'url', 'display', 'cable', 'cable_end', 'connector', 'positions', 'termination_type',
|
||||||
|
'termination_id',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user