How is it possible to do the equivalent of the following?

class UserDetailsView(RetrieveAPIView):
    serializer_class = UserDetailsSerializer
    queryset = User.objects.all(pk=request.user)

I'm guessing that this actual code won't work.

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to