Skip to main content

Verbose error views with minimal context fo Django

Project description

https://badge.fury.io/py/django-error-views.svg https://travis-ci.org/wooyek/django-error-views.svg?branch=master https://codecov.io/gh/wooyek/django-error-views/branch/master/graph/badge.svg

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.

Source Distribution

django-error-views-0.2.2.tar.gz (7.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page