Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

View Django Error Report in Django Admin

Project description

django-error-report
===================

View all Django Error detail in Django Admin.

Error-report save Django error traceback and details which would be the
same beautiful exception page that Django displays when debugging is
enabled and saves it to the database so you can view it later.

It’s simple alternative to django-sentry which is a paid option to see
error detail.

You can create issues for feature you want in django-error-report in
future.

Features
========

- A simple user interface for browsing error records in the database.

Requirements
============

- Python 2.7
- Django > 1.7

Installation
============

1. To install, simply run:

pip install django-error-report

2. Add ``error_report`` to your ``INSTALLED_APPS`` setting.
3. Add below in your ``urls.py`` file

url(r'^error/', include('error\_report.urls'))

4. Add ``error_report.middleware.ExceptionProcessor`` in your middlewares
5. Run ``manage.py migrate`` to create the database tables.

Configuration
=============

Required settings for Django-error-report should be added in settings.py
file like this

ERROR_DETAIL_SETTINGS = {
"CONFIGURATION_OPTION": VALUE
}

Available configuration options are below - ERROR\_DETAIL\_ENABLE:

1. ERROR\_DETAIL\_ENABLE: Should Log error detail or not (True/False)

2. ERROR\_DETAIL\_HEIGHT: Height of Iframe in admin (in pixels)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_error_report-0.1.6-py2.7.egg (13.1 kB) Copy SHA256 hash SHA256 Egg 2.7
django-error-report-0.1.6.tar.gz (5.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page