12345678 |
- from metaservicesynced.serializer import PersonInfoSerializer
- from rest_framework import viewsets, permissions
- from SharixAdmin.models import SharixUser
- class PersonInfoMVS(viewsets.ReadOnlyModelViewSet):
- queryset = SharixUser.objects.all()
- serializer_class = PersonInfoSerializer
- permission_classes = [permissions.IsAuthenticated]
|