Skip to main content

Audit log app for Django

Project description

django-auditlog

Jazzband Build Status Docs codecov Supported Python versions Supported Django versions

django-auditlog (Auditlog) is a reusable app for Django that makes logging object changes a breeze. Auditlog tries to use as much as Python and Django's built in functionality to keep the list of dependencies as short as possible. Also, Auditlog aims to be fast and simple to use.

Auditlog is created out of the need for a simple Django app that logs changes to models along with the user who made the changes (later referred to as actor). Existing solutions seemed to offer a type of version control, which was found excessive and expensive in terms of database storage and performance.

The core idea of Auditlog is similar to the log from Django's admin. Unlike the log from Django's admin (django.contrib.admin) Auditlog is much more flexible. Also, Auditlog saves a summary of the changes in JSON format, so changes can be tracked easily.

Documentation

The documentation for django-auditlog can be found on https://django-auditlog.readthedocs.org. The source files are available in the docs folder.

License

Auditlog is licensed under the MIT license (see the LICENSE file for details).

Contribute

If you have great ideas for Auditlog, or if you like to improve something, feel free to fork this repository and/or create a pull request. I'm open for suggestions. If you like to discuss something with me (about Auditlog), please open an issue.

Releases

  1. Make sure all tests on master are green
  2. Create a new branch vX.Y.Z from master for that specific release
  3. Update the CHANGELOG release date
  4. Pull request vX.Y.Z -> master
  5. As a project lead, once the PR is merged, create and push a tag vX.Y.Z: this will trigger the release build and a notification will be sent from Jazzband of the availability of two packages (tgz and wheel)
  6. Test the install
  7. Publish the release to PyPI

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-auditlog-2.2.1.tar.gz (51.5 kB view details)

Uploaded Source

Built Distribution

django_auditlog-2.2.1-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file django-auditlog-2.2.1.tar.gz.

File metadata

  • Download URL: django-auditlog-2.2.1.tar.gz
  • Upload date:
  • Size: 51.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for django-auditlog-2.2.1.tar.gz
Algorithm Hash digest
SHA256 9ad9a0a04d37aa6dc8956126ceb499d64edf71f8fddb0bc908f1217b0c31ec21
MD5 5e3ccbce9c1b225004535c6d57c02e6d
BLAKE2b-256 707302f24b45602f80f9261b4f3be9e404fbf1ae3aa6774e5a57e6c5a79ecf88

See more details on using hashes here.

File details

Details for the file django_auditlog-2.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_auditlog-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 51c724f878fb3bc275c498e2e44583f28565135b1c60e6e8f7faf54e030c804f
MD5 d403142592cf841fbbb00611117a2f3d
BLAKE2b-256 53df699657221130bcd90d0f69a46c3de3631dfa0644dcff81d805ec41f791ec

See more details on using hashes here.

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