Django Switch User allows you to assume the identity of another user.
Project description
# 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”)),
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-switch-user-2.1.0.tar.gz
.
File metadata
- Download URL: django-switch-user-2.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f4d7a38994858289dba55f78c24160fd3ebdabb6c568aa806e37dac99e6376c |
|
MD5 | c491e30446cf8168097978ea8385c1f6 |
|
BLAKE2b-256 | a55640d96adbec86debfa7dd9cc70088fd164dd1332224df2adc1cf32238f22e |
File details
Details for the file django_switch_user-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: django_switch_user-2.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaf6c3baabcf8fb503f3f087c72c10982384674f08a8a6b1cc182af96c809d34 |
|
MD5 | 776a0a6ee94c74d6f2b344d946b006f8 |
|
BLAKE2b-256 | 2041a5b61268a57eccb2a850ca39bfe0767088470cec54cd67e3cde2d73a46e4 |