A Django package for logging actions with user and object details
Project description
Django Audit Log
A simple Django package for logging user actions on objects within the application.
Installation
Install via pip:
pip install audit-trail-logger
- Add auditlog to INSTALLED_APPS in your Django settings.
- Use the audit_log decorator on your views or model methods. from auditlog.decorators import audit_log @audit_log(action_type='create', object_type='Product') def create_product(request): ## Your logic for creating the product pass
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file audit-trail-logger-0.1.2.tar.gz.
File metadata
- Download URL: audit-trail-logger-0.1.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d01fcca7a8f32df5093a5f56db8e1b7bc984b9376051dba450cf5f444c5a69a
|
|
| MD5 |
7221aec7073f091ef69a32cefa18a87b
|
|
| BLAKE2b-256 |
9a16ac6eda624e2d771e2476696f9eb6cb29ce260a53375f8ce6fb3201a8e0cd
|
File details
Details for the file audit_trail_logger-0.1.2-py3-none-any.whl.
File metadata
- Download URL: audit_trail_logger-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94c955e63efe144a55b5e4481a1f40e2d1c777740a58f13d7d508df798046978
|
|
| MD5 |
4f60eede1abcd789e9be1b32797d01dc
|
|
| BLAKE2b-256 |
2c2ed868472fefd91568456bfab301926c0c13e5c2091cc6224016ce433a2913
|