skip to navigation
skip to content

django-sudo 1.1.0

Extra security for your sensitive pages

Latest Version: 2.1.0

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.


$ pip install django-sudo


  • Django 1.4-1.7
  • Python 2.6-3.4
  • pypy
File Type Py Version Uploaded on Size
django-sudo-1.1.0.tar.gz (md5) Source 2014-05-17 6KB
django_sudo-1.1.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2014-05-17 8KB