A simple Django app to register logs in admin backoffice.
Project description
Admin watchdog
Admin watchdog is a simple Django app to register and view logs in the django admin backoffice.
Quick start
Add “admin_watchdog” to your INSTALLED_APPS settings.
Run python manage.py migrate to create the admin watchdog model.
Edit your LOGGING settings to use the admin watchdog handler. For example, to replace the default mail handler:
LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'handlers': { 'admin_watchdog': { 'level': 'ERROR', 'class': 'admin_watchdog.handlers.AdminWatchdogHandler', } }, 'loggers': { 'django.request': { 'handlers': ['admin_watchdog'], 'level': 'ERROR', 'propagate': False, } } }
Your error logs will now be registered. Visit your admin backoffice to see the log entries.
You can run the tests by doing make test.
Screenshots
LICENSE
GPLv3+
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-admin-watchdog-1.0.1.tar.gz
(200.9 kB
view hashes)
Close
Hashes for django-admin-watchdog-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db74c766ca432f974e4c69174f5864e38fcc83a4293929862818d8b1bbc5b100 |
|
MD5 | 5e9eb19edadbbe406514a0ab96e827ba |
|
BLAKE2b-256 | 901c6e74b6698c9387dbae02714c63588e93844c3065e8d70265cdb688fe5ff1 |