Skip to main content

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 3.2+, and Python 3.8+. See git tags and PyPI classifiers for support.


This app wraps the standard 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.


  • Documentation.
  • Convert output field to JSON

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-2.0.tar.gz (8.1 kB view hashes)

Uploaded source

Built Distribution

django_command_log-2.0-py3-none-any.whl (11.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page