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
.
See the test_command
and test_transaction_command
for examples.
TODO
Documentation.
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-0.2.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for django_command_log-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d43b883430d07756ec37cd0532a5169787d0968edd1be84fcc47301a0a02e8f5 |
|
MD5 | 02b23fc1a49ce7d28efc032f636eea38 |
|
BLAKE2b-256 | b84f207695df6289c177e57ac9fb80189ede6d663e69398262486a477d6ed2b5 |