Skip to main content

django-sudo

Sudo mode is an extra layer of security for your most sensitive pages.
This is an implementation of GitHub's Sudo Mode for Django.

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.9-1.11
  • Python 2.7, 3.6-3.7

Resources

Metadata

Release files for django-sudo 3.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-sudo 3.1.0
File Size Uploaded
django-sudo-3.1.0.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-sudo 3.1.0
File Interpreter ABI Platform
django_sudo-3.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 16.8 kB

Release files / django-sudo-3.1.0.tar.gz

Download URL django-sudo-3.1.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
671c9b819580d35688f2084e3f2cf60ebc1bfee7cbcf07882160ccf3fbb85a67
BLAKE2b-256 checksum
How to use checksums
ca639ad066bf7f9c3193fb1d9b8d8d926400acc32ea8d140fb27018bff5587b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

Release files / django_sudo-3.1.0-py2.py3-none-any.whl

Download URL django_sudo-3.1.0-py2.py3-none-any.whl
Size 9.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fdd005910851def6cd0a2a121a9a41c98b714c345faaaf74fbb75bd95f2f5959
BLAKE2b-256 checksum
How to use checksums
1b05decb22ca87ce702bf7d3e1fda5579e60a1b7ea4ea4520233f311d5802ec1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

Release history Release notifications | RSS feed

This release

3.1.0 This release

2 release files

3.0.0

2 release files

2.1.0

2 release files

2.0.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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