Add /trace API endpoints for CircuitTermination and PowerFeed

This commit is contained in:
Jeremy Stretch
2020-10-08 13:55:29 -04:00
parent 0c5efa243d
commit 0e41bc48b7
3 changed files with 7 additions and 3 deletions

View File

@@ -614,7 +614,7 @@ class PowerPanelViewSet(ModelViewSet):
# Power feeds
#
class PowerFeedViewSet(CustomFieldModelViewSet):
class PowerFeedViewSet(PathEndpointMixin, CustomFieldModelViewSet):
queryset = PowerFeed.objects.prefetch_related(
'power_panel', 'rack', '_path__destination', 'cable', '_cable_peer', 'tags'
)