What is this for?
django-sudo provides an extra layer of security for after a user is already logged in. Views can be decorated with @sudo_required, and then a user must re-enter their password to view that page. After verifying their password, that user has elevated permissions for the duration of SUDO_COOKIE_AGE. This duration is independent of the normal session duration allowing short elevated permission durations, but retain long user sessions.
Installation
$ pip install django-sudo
Compatibility
Django 1.4-1.8
Python 2.6-3.4
pypy
Resources
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-sudo-1.1.3.tar.gz.
File metadata
- Download URL: django-sudo-1.1.3.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25713ab6310d13913fd89d9b9945bd1f6a785b400a2fbbd6112b50612969f8e0
|
|
| MD5 |
90e2b75f51d1a9e5fdbdd4873207e11b
|
|
| BLAKE2b-256 |
c4ad59218283fe4d2014bd01c7a1dfe1833f2f35ef8432587195750250f7745f
|
File details
Details for the file django_sudo-1.1.3-py2.py3-none-any.whl.
File metadata
- Download URL: django_sudo-1.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9ea6b55a748a228ce0bbd039e6eb97e219b663ab9eefeb88a43abc95664e0fe
|
|
| MD5 |
efbbbb8a35857313fdafc4b6a5a3882d
|
|
| BLAKE2b-256 |
e78ce07d5ef8d707c6453595360ce5f0755694d7d38726d51d85801f9fc95de0
|