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.0 through 3.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+

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.3.tar.gz (201.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_admin_watchdog-1.0.3-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file django-admin-watchdog-1.0.3.tar.gz.

File metadata

  • Download URL: django-admin-watchdog-1.0.3.tar.gz
  • Upload date:
  • Size: 201.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for django-admin-watchdog-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f417932af7b903df43b80aa224706335c6f26118f4ee3b8c442551cef5f9dd7f
MD5 28880b25250658344367fca76edaea3c
BLAKE2b-256 eb32e5fc2c23d5859b681ad75b6817064f94b3f2944a5737c38c72d09c7b8284

See more details on using hashes here.

File details

Details for the file django_admin_watchdog-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: django_admin_watchdog-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 23.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for django_admin_watchdog-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1cd944c3cbff799f38f37532239c4417086220b35eb3ed25e89502b821a7437d
MD5 a65c94c1631f13656e969c80276f47cc
BLAKE2b-256 7fef61c4f1fc6c393238d4976d93001aa3d83d1724a73a84dca28be6560c3a0d

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.5

2 files

1.0.4

2 files

This release

1.0.3 This release

2 files

1.0.2

1 file

1.0.1

1 file

1.0

1 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