Skip to main content

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, 3.6

  • 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.

Source Distribution

django-error-report-0.2.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

django_error_report-0.2.0-py2-none-any.whl (7.9 kB view details)

Uploaded Python 2

File details

Details for the file django-error-report-0.2.0.tar.gz.

File metadata

  • Download URL: django-error-report-0.2.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15+

File hashes

Hashes for django-error-report-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9ae2025b624ebbf7496bb4c947a90e39179929b7c3c2235645a85d8b40f6c4a8
MD5 c428ca9c4c8c9da4a833d8c3a4c772bd
BLAKE2b-256 7cfdac68d72f19a69ac0303f08f3b73dbf7e034c14590a4fab6095b2eb270e3f

See more details on using hashes here.

File details

Details for the file django_error_report-0.2.0-py2-none-any.whl.

File metadata

  • Download URL: django_error_report-0.2.0-py2-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15+

File hashes

Hashes for django_error_report-0.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 c03ab2ba9fe33ec04b89d8aa313ad89ee3b04b7a8c8fcdb1dd7c345d108653b7
MD5 f2114f24d2ab2b1df3ccbe91d6752a5f
BLAKE2b-256 27c5ab2abbdefdeb5f94d194c77d41d7dcfed56147daa9706377c5aca73c5467

See more details on using hashes here.

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