Skip to main content
# Django Management Command Log

App to enable simple auditing of Django management commands

### Version support

This project supports Python 3.12+ and Django 5.2-6.0.
See git tags and PyPI classifiers for support.

## Background

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](https://github.com/yunojuno/django-management-command-log/blob/master/screenshots/list-view.png)

![Screenshot of admin detail
view](https://github.com/yunojuno/django-management-command-log/blob/master/screenshots/detail-view.png)

See the `test_command` and `test_transaction_command` for examples.

## TODO

* Documentation.
* Convert output field to JSON

Metadata

Release files for django-command-log 2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-command-log 2.3.0
File Size Uploaded
django_command_log-2.3.0.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-command-log 2.3.0
File Interpreter ABI Platform
django_command_log-2.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.1 kB

Release files / django_command_log-2.3.0.tar.gz

Download URL django_command_log-2.3.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
706b757a7870475e15ac768b0d70b87f6ca9b8b3e92d380b7bc51951e9d99448
BLAKE2b-256 checksum
How to use checksums
0b3c0452a85c4e86185a5cb3c301c520788b71ee2808ec4c63dcdbbf11808161
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / django_command_log-2.3.0-py3-none-any.whl

Download URL django_command_log-2.3.0-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2db45634bd81088bc2b54d7f53ac2b325610bda41441d5c3c8b9b4cfa02429e3
BLAKE2b-256 checksum
How to use checksums
63c4b0e931c836cb45d1e6c1ccaec713e1752fd15f50093d44788c5f6ac7dc6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 release files

2.2.1

2 release files

2.2

2 release files

2.1

2 release files

2.0

2 release files

1.0

2 release files

0.5.1

2 release files

0.5

2 release files

0.4.1

2 release files

0.4

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page