Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

199
Views
How to use django-hijack from api

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.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!