from rest_framework import viewsets
from ..serializers.device import DeviceSerializer, Device


class DeviceViewSet(viewsets.ModelViewSet):
    serializer_class = DeviceSerializer
    queryset = Device.objects.all()

4d048d71fd7852f369fee9811f5a773c85bcf1b1
<mask token>

<mask token>


class DeviceViewSet(viewsets.ModelViewSet):
    <mask token>
    <mask token>

<mask token>


class DeviceViewSet(viewsets.ModelViewSet):
    serializer_class = DeviceSerializer
    queryset = Device.objects.all()

from rest_framework import viewsets
from ..serializers.device import DeviceSerializer, Device


class DeviceViewSet(viewsets.ModelViewSet):
    serializer_class = DeviceSerializer
    queryset = Device.objects.all()
