1
0

client.py 369 B

12345678910
  1. from metaservicesynced.serializer import ClientSerializer
  2. from rest_framework import viewsets, permissions
  3. from metaservicesynced.models import Client
  4. class ClientMVS(viewsets.ModelViewSet):
  5. queryset = Client.objects.all()
  6. serializer_class = ClientSerializer
  7. #permission_classes = [IsOwnerOrReadOnly]
  8. permission_classes = [permissions.IsAuthenticated]