I am starting with django-rest-framework and I can't find the way to access the Token value from the view, is it possible? I am not using built-in token generator, I use a custom function to do it. In request's headers I give this:
Authorization: 'Token kjansfd98qhr23d09823098fdj'
How can I access that value in the view? Or maybe there's a best way to work with custom tokens.
PD: I am not using Django's default User model.