I have a token string from Django REST Framework's TokenAuthentication.
I need to get the corresponding user object. How would I go about doing this?
from rest_framework.authtoken.models import Token
user = Token.objects.get(key='token string').user