Skip to main content

# django-switch-user

Django Switch User is a reuasable application that allows users to assume the identify of another user. It can be helpful when debugging user issues. Django Switch User assumes you are using a Django model backend for your user.

Beginning with the django-switch-user 2.0 version and above are only supported on Python 3. If you need a Python 2 compatible version [use version 1.3.0](https://pypi.org/manage/project/django-switch-user/release/1.3.0/)

## Installation

pip install django-switch-user

## Quickstart

After installing Django Switch User you just need to add su to INSTALLED_APPS and wire it into your urls.

re_path(r”^admin/su/”, include(“su.urls”)),

Release files for django-switch-user 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-switch-user 2.1.0
File Size Uploaded
django-switch-user-2.1.0.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-switch-user 2.1.0
File Interpreter ABI Platform
django_switch_user-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / django-switch-user-2.1.0.tar.gz

Download URL django-switch-user-2.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6f4d7a38994858289dba55f78c24160fd3ebdabb6c568aa806e37dac99e6376c
BLAKE2b-256 checksum
How to use checksums
a55640d96adbec86debfa7dd9cc70088fd164dd1332224df2adc1cf32238f22e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / django_switch_user-2.1.0-py3-none-any.whl

Download URL django_switch_user-2.1.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aaf6c3baabcf8fb503f3f087c72c10982384674f08a8a6b1cc182af96c809d34
BLAKE2b-256 checksum
How to use checksums
2041a5b61268a57eccb2a850ca39bfe0767088470cec54cd67e3cde2d73a46e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

1 release file

1.0.0

1 release file

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page