Using Django-REST-framework, I have the following view:
class MyRESTfulAPIView(APIView): permission_classes = [IsAuthenticated, MyCustomPermision] de