mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Converted device component views to a router
This commit is contained in:
@@ -100,7 +100,7 @@ class ServiceViewSet(RetrieveModelMixin, UpdateModelMixin, DestroyModelMixin, Wr
|
||||
serializer_class = serializers.ServiceSerializer
|
||||
|
||||
|
||||
class ChildServiceViewSet(CreateModelMixin, ListModelMixin, WritableSerializerMixin, GenericViewSet):
|
||||
class DeviceServiceViewSet(CreateModelMixin, ListModelMixin, WritableSerializerMixin, GenericViewSet):
|
||||
serializer_class = serializers.ChildServiceSerializer
|
||||
|
||||
def get_queryset(self):
|
||||
|
Reference in New Issue
Block a user