12345678910 |
- from metaservicesynced.serializer import PersonInfoSerializer
- from rest_framework import viewsets, permissions
- from metaservicesynced.models import PersonInfo
- class PersonInfoMVS(viewsets.ModelViewSet):
- queryset = PersonInfo.objects.all()
- serializer_class = PersonInfoSerializer
- #permission_classes = [IsOwnerOrReadOnly]
- permission_classes = [permissions.IsAuthenticated]
|