View Django Error Report in Django Admin
Project description
django-error-report-2
Maintained fork of django-error-report. Original author mhsiddiqui
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
-
To install, simply run:
pip install django-error-report
-
Add
error_report
to yourINSTALLED_APPS
setting. -
Add below in your
urls.py
fileurl(r'^error/', include('error_report.urls'))
-
Add
error_report.middleware.ExceptionProcessor
in your middlewares -
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:
-
ERROR_DETAIL_ENABLE: Should Log error detail or not (True/False)
-
ERROR_DETAIL_HEIGHT: Height of Iframe in admin (in pixels)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-error-report-2-0.4.2.tar.gz
.
File metadata
- Download URL: django-error-report-2-0.4.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 603e1e3b24d01bbfeab6379af948893b2b034031c80fa8b45cf1c4735341c04b |
|
MD5 | a5a630f176f9ac12afcdb372ee207d8a |
|
BLAKE2b-256 | 375620a47d27df687238ff58c2ad74fc3856756de61d5d6dc2924270fe8b7d05 |
File details
Details for the file django_error_report_2-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: django_error_report_2-0.4.2-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dd99c497af09b7ea99f5fbaf910501838150a9d5390796ea00e187bc62f6c1b |
|
MD5 | 23b738b9a6b6a7647c9b8289dbeaaa6f |
|
BLAKE2b-256 | 9fdfb0985db6c0e3feadf054b3f2c9df281d8eb7463a32a903a549ae21233eb7 |