def get(self, request):
    'Retrieve the user.'
    user = request.user
    serializer = self.serializer_class(user)
    return Response(serializer.data)
Retrieve the user.
def get(self, request):
    
    user = request.user
    serializer = self.serializer_class(user)
    return Response(serializer.data)