Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

197
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda