Skip to main content

Audit support for Django models using PostgreSQL triggers and stored procedures.

Project description

  • this probably doesn’t work well yet.

Usage

  • Add django_auditmatic to INSTALLED_APPS.

Example:

INSTALLED_APPS.append("django_auditmatic")
  • Configure which models you want to audit in settings.py

Example:

AUDITMATIC = {
    "apps": {
        "auth": {
            "User": {"m2m": any},
        }
    }
}

In this example will only include the User model from the auth app, along with any many-to-many relationships.

  • Then run:

    python manage.py install_audit

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-model-auditmatic-0.2.0.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

django_model_auditmatic-0.2.0-py3-none-any.whl (20.2 kB view hashes)

Uploaded Python 3

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