1234567891011121314151617 |
- from .serializer import *
- from rest_framework import viewsets, permissions, exceptions
- from rest_framework.authentication import TokenAuthentication
- from rest_framework.decorators import action
- from metaservicesynced.models import *
- from rest_framework.views import APIView
- from rest_framework.response import Response
- class DocumentsMVS(viewsets.ModelViewSet):
- """
-
- """
- queryset = Documents.objects.all()
- serializer_class = DocumentsSerializer
- #permission_classes = [IsOwnerOrReadOnly]
- permission_classes = [permissions.IsAuthenticated]
|