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.3.tar.gz (4.7 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.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file audit-trail-logger-0.1.3.tar.gz.

File metadata

  • Download URL: audit-trail-logger-0.1.3.tar.gz
  • Upload date:
  • Size: 4.7 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.3.tar.gz
Algorithm Hash digest
SHA256 308fed1266a476d8c885eb5205f064dd07d91916dbf0d832f31615a445208338
MD5 67d4516f197f58a85da3e4f32d3911ea
BLAKE2b-256 8f0763e6034b7f7e4976a2c4d69ffac53c074e272dd078c08d89dfe0fcd71844

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for audit_trail_logger-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2a50c20cbfaff2798e7a5aba961cbf46a4f65be51da9e2afa3940b77e735ad2d
MD5 2f980a79b7179c6f37ca7a24ab6e117b
BLAKE2b-256 890fc69dfb9363706fc8e8762c11bada46921ec3fd2d5829553423d1eec80266

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