I have follow the django-hijack installation process but unfortunately the usage demonstration is using the django template.
But like most current applications, my application uses Django Rest Framework and has a javascript application for the front end.
I can't find a solution to impersonate an user from the front-end. I've tried to do a POST while logged in as an admin on /hijack/5 or /hijack/acquire/5 where 5is the ID of the user I want to impersonate but I got a 404 error on my POST.
So my question is how to impersonate an user while an admin with Django when using a javascript front end application ?
I'm open to other projects than django-hijack if this one is not compatible.