I have implemented Token Authentication with django rest framework and I can post username and password to /api-token-auth/
and get the token.
url(r'^api-token-auth/', token_views.obtain_auth_token)
In addition to the token, I want to get the User
object related to the returned token.
How can I override/add to this view and also return the actual User object?