Skip to main content

Admin watchdog

https://travis-ci.org/makinacorpus/django-admin-watchdog.png https://coveralls.io/repos/makinacorpus/django-admin-watchdog/badge.png?branch=master

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

  1. Add “admin_watchdog” to your INSTALLED_APPS settings.

  2. Run python manage.py migrate to create the admin watchdog model.

  3. 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,
            }
        }
    }
  4. Your error logs will now be registered. Visit your admin backoffice to see the log entries.

  5. You can run the tests by doing make test.

Screenshots

doc/admin_watchdog_home.png doc/admin_watchdog_list.png doc/admin_watchdog_view.png

AUTHORS

makinacom

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)

Source distribution for django-admin-watchdog 1.0.5
File Size Uploaded
django_admin_watchdog-1.0.5.tar.gz 201.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-admin-watchdog 1.0.5
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

1 release file

1.0.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page