Admin watchdog
Admin watchdog is a simple Django app to register and view logs in the django admin backoffice.
Tested with Django 2.2 through 4.0.
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+
Release files for django-admin-watchdog 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_admin_watchdog-1.0.5.tar.gz | 201.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_admin_watchdog-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 224.5 kB
Release files / django_admin_watchdog-1.0.5.tar.gz
| Download URL | django_admin_watchdog-1.0.5.tar.gz |
|---|---|
| Size | 201.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06c109d975c87e30a12a80974a722a07722c4cf41a612966e6f810e1a466ebdd
|
|
BLAKE2b-256 checksum How to use checksums |
a1859663342acf3d61cc4a51d6b4ad2151b306241b7db2f70f4634f74a6a7d72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / django_admin_watchdog-1.0.5-py3-none-any.whl
| Download URL | django_admin_watchdog-1.0.5-py3-none-any.whl |
|---|---|
| Size | 23.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91d9fdf950213546811e2ae8e1b29aa8f08865b625c6af3651e0e4708c493dae
|
|
BLAKE2b-256 checksum How to use checksums |
bf2bc75af754ad5bb4b0b36cf3d53250ac6e75fd20f14a934e100341bb09bbc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|