{ "info": { "author": "gdelfresno", "author_email": "gdelfrenso@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Version Control" ], "description": "django-exception-blame\n======================\n\nA django middleware for exception blaming\n\n## Overview\n\nBasically 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`.\n\nOnly for use with `DEBUG=True`\n\n## Installation\n\nInstall using `pip`\n\n pip install django-exception-blame\n\n## Configuration\n\nAdd the following to your `settings.py` module:\n\nAdd the middleware to your `MIDDLEWARE_CLASSES` setting\n\n MIDDLEWARE_CLASSES = [\n ...\n 'exceptionblame.middleware.ExceptionBlameMiddleware',\n ]\n\nConfigure the repository root.\n\n EXCEPTION_BLAME = {\n 'REPO_DIR': '/your/repository/dir'\n }\n\n## License\n\nThis project is licensed under the MIT License - see the `LICENSE` file for details", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/gdelfresno/django-exception-blame/tarball/0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gdelfresno/django-exception-blame", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-exception-blame", "package_url": "https://pypi.org/project/django-exception-blame/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-exception-blame/", "project_urls": { "Download": "https://github.com/gdelfresno/django-exception-blame/tarball/0.1", "Homepage": "https://github.com/gdelfresno/django-exception-blame" }, "release_url": "https://pypi.org/project/django-exception-blame/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Show blame in a exception.", "version": "0.1.1" }, "last_serial": 2064715, "releases": { "0.1": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "ec4aaa70b9877751ff9c6f3cd81d7c0d", "sha256": "6b288558b8a5f6536c40a213c82c157b0a338c277c4cacd48c71137f60ce758f" }, "downloads": -1, "filename": "django-exception-blame-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ec4aaa70b9877751ff9c6f3cd81d7c0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3130, "upload_time": "2016-04-14T23:20:38", "url": "https://files.pythonhosted.org/packages/4b/62/70f78bd708d3340721819dbe75bbb4d8ccdc76ea6f9112395941e649b68d/django-exception-blame-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ec4aaa70b9877751ff9c6f3cd81d7c0d", "sha256": "6b288558b8a5f6536c40a213c82c157b0a338c277c4cacd48c71137f60ce758f" }, "downloads": -1, "filename": "django-exception-blame-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ec4aaa70b9877751ff9c6f3cd81d7c0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3130, "upload_time": "2016-04-14T23:20:38", "url": "https://files.pythonhosted.org/packages/4b/62/70f78bd708d3340721819dbe75bbb4d8ccdc76ea6f9112395941e649b68d/django-exception-blame-0.1.1.tar.gz" } ] }