>
> It seems like this solved the issue: instead of "Authorization", I had to
> include "HTTP_AUTHORIZATION" for the header key.
>
response = self.client.post("/auth/api/authenticated/", {},
HTTP_AUTHORIZATION='JWT {}'.format(token))
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/a205faf3-602a-4811-a8e4-681f964c0250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.