>
> Hello, Thanks for your reply.
>
> I have already checked this github comments.
I added custom middleware in settings middlewares after Authentication 
middleware.
But I got still Anonymous user.
About test, can you explain about force_login?
About project status, I am printing logs in console like `print
(request.user)` in middleware.
Console says `AnonymousUser`.
How can I fix it?
Thank you.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/db4aad44-1b01-45ed-932b-cc0151bc1105%40googlegroups.com.

Reply via email to