Verbose error views with minimal context fo Django
Project description
Verbose error views with minimal context fo Django
Documentation
The full documentation is at https://django-error-views.readthedocs.io.
Quickstart
Install Django Error Views:
pip install django-error-views
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'django_error_views.apps.DjangoErrorViewsConfig',
...
)
Add Django Error Views’s handlers to your project url.py:
from django_error_views.handlers import *
Features
This app sets Django error handlers with sensible defaults that will have some context with them:
error message
support email
status_code
request
sentry_public_dsn - optional
This will help to render error pages that are usable to something more that render a static error message. Run an example to see how it works.
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Credits
Tools used in rendering this package:
History
0.1.0 (2017-03-07)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.