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.tar.gz
(199.8 kB
view hashes)
Close
Hashes for django-admin-watchdog-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ada506a4329ae5ec261e2895e5570bd8846051ebdab5ef4fa8eb10426a8add2f |
|
MD5 | 687b3926794cc9aa5e3c0554c979e693 |
|
BLAKE2b-256 | 5f7f3b5ae64452e46113e9d3b6cc8f03fbd351a09e7cd4e7a9ad5f36b6ac881b |