Metadata-Version: 1.1
Name: django-exception-blame
Version: 0.1.1
Summary: Show blame in a exception.
Home-page: https://github.com/gdelfresno/django-exception-blame
Author: gdelfresno
Author-email: gdelfrenso@gmail.com
License: MIT
Download-URL: https://github.com/gdelfresno/django-exception-blame/tarball/0.1
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 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
        
        
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Version Control
