Easily audit Django management commands
Audit your app’s management command calls with a single line of code. Logs command name and start/end timestamps on every run.
pip install django-management-audit
Create database table for audit records:
python manage.py syncdb
Modify your manage.py file to import audit installer and run it:
from management_audit import install install(['your_app_name',])
Optionally supply exclusion list of commands that you don’t want to audit:
When commands from your apps will be run, django-management-audit will create a database record for each run which includes command’s name and start/end timestamps.