MCPcopy Index your code
hub / github.com/django-hijack/django-hijack

github.com/django-hijack/django-hijack @3.7.8

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.7.8 ↗ · + Follow
135 symbols 490 edges 34 files 15 documented · 11%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Django Hijack

CI codecov PyPI

Screenshot of the notification seen while hijacking another user.

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

Docs

Docs are available on Read the Docs https://django-hijack.readthedocs.org/en/stable/, both for v2.x and v3.x.

Versions

There are two versions available: v2.x and v3.x.

v3.x provides a security first design, easy integration, customisation, out-of-the-box Django admin support and dark-mode. It is a complete rewrite and all former APIs are broken.

Testimonials

I am using django-hijack on a project with hundreds of users, wonderful tool for support. Thank you!

-- benzinonapoloni on reddit

This is a super useful tool. I have a site where I occasionally impersonating users to help troubleshoot their issues. This is a huge time saver.

-- orangishyellow on reddit

... one of our standard apps to install now.

-- thundersnow on reddit

Love django-hijack

-- bmihelac on Twitter

Core symbols most depended-on inside this repo

get
called by 47
tests/test_app/views.py
post
called by 20
hijack/views.py
process_request
called by 8
hijack/middleware.py
process_response
called by 6
hijack/middleware.py
absolute_path
called by 6
hijack/forms.py
get_success_url
called by 4
hijack/views.py
ready
called by 4
hijack/contrib/admin/apps.py
get_hijack_success_url
called by 4
hijack/contrib/admin/admin.py

Shape

Method 82
Class 29
Function 24

Languages

Python98%
TypeScript2%

Modules by API surface

tests/test_views.py25 symbols
hijack/views.py15 symbols
tests/test_middleware.py13 symbols
tests/test_admin.py10 symbols
tests/test_forms.py9 symbols
hijack/forms.py9 symbols
tests/conftest.py7 symbols
hijack/contrib/admin/admin.py7 symbols
tests/test_app/routers.py6 symbols
tests/test_app/models.py4 symbols
hijack/middleware.py4 symbols
tests/test_app/views.py3 symbols

For agents

$ claude mcp add django-hijack \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page