Skip to main content

Django middleware that displays debug tracebacks on production sites (where you would have `DEBUG = False`) only to developers.

Project description

This is a middleware that displays debug tracebacks on production sites (where you would have DEBUG = False) only to developers. Developers have to install a special userscript to decode the traceback data. AES with CBC mode is used to encrypt the traceback. The decode key is a hash of your SECRET_KEY.

Google Chrome and Firefox are supported. If you want to use something else you have to find a way to install the userscript yourself.

It looks like this:

Sample error page

Installation guide

Install it:

pip install django-monkey-team

Change your Django project settings to have:

INSTALLED_APPS += (
    'monkey_team',
)
MIDDLEWARE_CLASSES += (
    'monkey_team.middleware.MonkeyTeamMiddleware',
)

The go to django admin and install the userscript. The setup page looks like this:

Userscript install page

Requirements

PyCrypto is required.

The project has been tested on Django 1.3, 1.4 and trunk with Python 2.6 and 2.7.

Build Status

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-monkey-team-0.1.tar.gz (68.1 kB view details)

Uploaded Source

File details

Details for the file django-monkey-team-0.1.tar.gz.

File metadata

File hashes

Hashes for django-monkey-team-0.1.tar.gz
Algorithm Hash digest
SHA256 7a3ed9a2c7e79e0a4bb7e01e920d6c69eeb1442fc1d75d494449eec4aca8cb37
MD5 242c4e53a5e5170f2eb13689c35d0d3e
BLAKE2b-256 f79f314c437985df98213ad361b5bf1a75f249a8f9deed122f949ae25cd21dd0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page