Skip to main content

Easily audit Django management commands

Project description

Audit your app’s management command calls with a single line of code. Logs command name and start/end timestamps on every run.


  • Install django-south-central:

    pip install django-management-audit
  • Create database table for audit records:

    python syncdb


  • Modify your file to import audit installer and run it:

    from management_audit import install
  • Optionally supply exclusion list of commands that you don’t want to audit:

    install(['your_app_name',], ['command_to_ignore',])
  • 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.


  • Log command parameters in addition to name and timestamps.

  • Create admin UI to browse audit records.

  • Add inclusion list as opposite to exlusion list (verify if that’s a use case at all)


0.1.0 (2014-01-01)

  • First release on PyPI.

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-management-audit-0.1.0.tar.gz (5.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page