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 with key `BLAMED_DEVELOPER`.
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
======================
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 with key `BLAMED_DEVELOPER`.
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
Metadata
Release files for django-exception-blame 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-exception-blame-0.1.1.tar.gz | 3.1 kB | Details |
Release files / django-exception-blame-0.1.1.tar.gz
| Download URL | django-exception-blame-0.1.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b288558b8a5f6536c40a213c82c157b0a338c277c4cacd48c71137f60ce758f
|
|
BLAKE2b-256 checksum How to use checksums |
4b6270f78bd708d3340721819dbe75bbb4d8ccdc76ea6f9112395941e649b68d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |