Django management command auditing app
Project description
Django Management Command Log
App to enable simple auditing of Django management commands
Version support
This project now support Django 2.2+, and Python 3.7+. See git tags and PyPI classifiers for support.
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
.
See the test_command
and test_transaction_command
for examples.
TODO
- Documentation.
- Convert output field to JSON
Project details
Release history Release notifications | RSS feed
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-1.0.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for django_command_log-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b31bc06d9b120f9444b4a4e96fdd85079ce0e1323db1e27d2ae35728f4593307 |
|
MD5 | 248f14eece636746e5eed14a6aed97a3 |
|
BLAKE2b-256 | ee231368ff540baddc189d46e664c167b2f4dc43514b4e9e7df162dfc9214e2f |