Skip to main content

Django management command auditing app

Project description

Django Management Command Audit Log

App to enable simple auditing of Django management commands

Background

This app wraps the standad Django management command base class to record the running of a command. It logs the name of the command, start and end time, and the output (if any). If the command fails with a Python exception, the error message is added to the record, and the exception itself is logged using logging.exception.

Screenshot of admin list view

Screenshot of admin detail view

See the test_command and test_transaction_command for examples.

TODO

Documentation.

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-command-log-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

django_command_log-0.1.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file django-command-log-0.1.1.tar.gz.

File metadata

  • Download URL: django-command-log-0.1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.4 Darwin/18.7.0

File hashes

Hashes for django-command-log-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f8084062fd0a20c8a7b64a08dd32da942ff8604b82d94552a698a4799e2b294c
MD5 1e1652d25206222700cf457e1ec7152f
BLAKE2b-256 df406b08a1dd24bd3fee1a46fc77570ea90a86725d7f730a9d72ef64b59d8218

See more details on using hashes here.

File details

Details for the file django_command_log-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: django_command_log-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.4 Darwin/18.7.0

File hashes

Hashes for django_command_log-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8abe775da18236e5f50ab721e97589293f40709783f4438b73ce2634dd51e3eb
MD5 35c4d8d046e6c8922fa989d24857d27e
BLAKE2b-256 6f2331dc293916ee725d6ce3cdef4b2e449e189d26e87219120134359625ce82

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page