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
Built Distribution
File details
Details for the file django-model-auditmatic-0.2.0.tar.gz
.
File metadata
- Download URL: django-model-auditmatic-0.2.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db5d3641cc7614e417aebf9cb503c89e5dffd269f921888899171129dd94853a |
|
MD5 | 7ebc88a34c6369e59ad3b7f66bddb75b |
|
BLAKE2b-256 | 43fa5019816a20a557eafdc197988f6336f3d19760a51773652882ed6836e551 |
File details
Details for the file django_model_auditmatic-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: django_model_auditmatic-0.2.0-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d04dbbbccf33efa6aed0e96c8fe4e8c94d6c38ccfcbcfa5f7306961d2b55d9b |
|
MD5 | ecd91a9df513b07a7f4d4be0b6dec96f |
|
BLAKE2b-256 | af266905d0fb4a18ec2ebbdcb6e33105ce0bc338bfd7f5c479bb3682420df1a7 |