# django-hijack/django-hijack

With Django Hijack, admins can log in and work on behalf of other users without having to know their credentials.

Repository: https://github.com/django-hijack/django-hijack
Canonical: https://ross.abutalabs.com/products/django-hijack
Homepage: https://django-hijack.rtfd.io
Language: Python
License: MIT
License Family: permissive
Topics: django, python, django-hijack
Last push: 2026-08-25T05:32:12+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 68, longevity 100
- inputs: {"age_days": 4706, "days_push": 8, "days_rel": 136, "gap_med": 43.0, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1742, forks 186 (observed 2026-08-28T04:05:30.382534+00:00)

## What it is
Django Hijack is a Django app that lets admins log in and work on behalf of other users without knowing their credentials. It provides secure impersonation with Django admin integration and a notification banner while hijacking.

## Use cases
- impersonate a user to reproduce a bug they reported
- let support staff log in as a customer without their password
- debug user-specific issues from the user's perspective
- add a 'login as user' button to the Django admin
- troubleshoot account settings on behalf of end users

## When to choose
- you run a Django site and need admin or support impersonation
- you want a security-first, actively maintained impersonation library
- you need out-of-the-box Django admin integration

## When to avoid
- your project is not built on Django
- you need impersonation with audit logging across many frameworks
- you only need read-only views of user data rather than full login-as sessions

## Facets
- artifact type: library
- maturity: stable
- function: auth, middleware
- domain: web-development, security, developer-tools
- platform: python
- tags: django, impersonation, user-spoofing, admin-tools, support-debugging, web-server

## Member repositories
- django-hijack/django-hijack (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:30.382534+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:29:55.340042+00:00, confidence not recorded.
  - readme: https://github.com/django-hijack/django-hijack (fetched 2026-08-28T04:05:30.382534+00:00, sha 193f03518d99)
  - registry_pypi: https://pypi.org/pypi/django-hijack/json (fetched 2026-08-29T11:07:53.220885+00:00, sha 6d39aebf717e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
