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 3.0, and Python 3.7 and 3.8. Python 3.6 has been deprecated
because the lack of support for __future__.annotations
makes type hinting across 3.6-3.7
complicated. 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.
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
Built Distribution
Hashes for django_command_log-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a2911357417f302bebd4696e9ccde2b409bc1b0fa49b363123aa6e1cb10bd33 |
|
MD5 | 4f3a3be2cd7e645ff02418ba84b13bf1 |
|
BLAKE2b-256 | b309a7c2732eb97b4b469c9b1bcc7223720298dc5f4a4670a47a1e2482f9d45a |