(self, request, *args, **kwargs)
return RestResponse(serializer.data)
get:
        Retrieve portal user details.
get:
        Retrieve portal user details.
get : Retrieve portal user details .
def list(self, request, *args, **kwargs):
        """
        get:
        Retrieve portal user details.
        """
        user = PortalUser.objects.get(id=request.user.id)
        serializer = PortalUserSerializer(user, many=False, context={'request': request})
        return RestResponse(serializer.data)
def list ( self , request , * args , * * kwargs ) : user = PortalUser . objects . get ( id = request . user . id ) serializer = PortalUserSerializer ( user , many = False , context = { 'request' : request } ) return RestResponse ( serializer . data )