Skip to main content

PyPI Version Build Status Documentation Status Code Coverage

Elevate mode offers 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?

Elevate provides an extra layer of security beyond initial user authentication. Views can be decorated with @elevate_required, and then users must re-authenticate to access that resource. This might be useful for deleting objects, canceling subscriptions, and other sensitive operations. After re-authentication, the user has elevated permissions for the duration of ELEVATE_COOKIE_AGE. This duration is independent of the normal session duration, allowing for short elevated permission durations while still retaining long user sessions.

Installation

$ pip install django-elevate

Compatibility

  • Django 2.2, 3.2, and 4.0

  • Python 3.7 - 3.10

  • pypy3

Resources

Release files for django-elevate 2.0.3

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-elevate 2.0.3
File Size Uploaded
django-elevate-2.0.3.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-elevate 2.0.3
File Interpreter ABI Platform
django_elevate-2.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 19.1 kB

Release files / django-elevate-2.0.3.tar.gz

Download URL django-elevate-2.0.3.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b715c74451d49e45e8e6f9aba2bc4a839470e3e62e4f53d51d872396371e8082
BLAKE2b-256 checksum
How to use checksums
3628b6c94d3c8c22d54ddb207e3e0923018752b595daea356efb5df54d1bc43d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / django_elevate-2.0.3-py3-none-any.whl

Download URL django_elevate-2.0.3-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
00422cb5742ea3de06a189e245a4ad28eb645a1cde8946ff2e6922132134ae84
BLAKE2b-256 checksum
How to use checksums
4c1c50cf9dece141be826eaf3d9957c8479e4b7902f624a6582726b1722eb511
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

2.0.3 This release

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.1

1 release file

1.0.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