Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Show blame in a exception.

Project Description
django-exception-blame
======================

A django middleware for exception blaming

## Overview

Basically it looks in the exception traceback and search for the line number of the first file of your reopsitory that raised the exception. It uses git to blame the author of that file and line number, then adds the info to the request metadata.

Only for use with `DEBUG=True`

## Installation

Install using `pip`

pip install django-exception-blame

## Configuration

Add the following to your `settings.py` module:

Add the middleware to your `MIDDLEWARE_CLASSES` setting

MIDDLEWARE_CLASSES = [
...
'exceptionblame.middleware.ExceptionBlameMiddleware',
]

Configure the repository root.

EXCEPTION_BLAME = {
'REPO_DIR': '/your/repository/dir'
}

## License

This project is licensed under the MIT License - see the `LICENSE` file for details
Release History

Release History

This version
History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-exception-blame-0.1.tar.gz (3.1 kB) Copy SHA256 Checksum SHA256 Source Apr 14, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting