Skip to main content

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

  1. Add auditlog to INSTALLED_APPS in your Django settings.
  2. 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

audit-trail-logger-0.1.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

audit_trail_logger-0.1.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

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

Hashes for audit-trail-logger-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9d01fcca7a8f32df5093a5f56db8e1b7bc984b9376051dba450cf5f444c5a69a
MD5 7221aec7073f091ef69a32cefa18a87b
BLAKE2b-256 9a16ac6eda624e2d771e2476696f9eb6cb29ce260a53375f8ce6fb3201a8e0cd

See more details on using hashes here.

File details

Details for the file audit_trail_logger-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for audit_trail_logger-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 94c955e63efe144a55b5e4481a1f40e2d1c777740a58f13d7d508df798046978
MD5 4f60eede1abcd789e9be1b32797d01dc
BLAKE2b-256 2c2ed868472fefd91568456bfab301926c0c13e5c2091cc6224016ce433a2913

See more details on using hashes here.

Supported by

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