django-user_agents
django-user_agents copied to clipboard
Usage in middleware
Is it possible to use it in a middleware?
Well... It is a middleware (see https://github.com/selwin/django-user_agents/blob/master/README.rst#middleware), so you can just place your own middleware after the this one, and have it accessible there.
I have already user_agents middleware put before mine, but it works only in process_view(), not in process_request().. is it ok?
How exactly do you use it?