Skip to main content

Audit log app for Django

Project description

django-auditlog

Jazzband Build Status Docs codecov Supported Python versions Supported Django versions

Migrate to V3

Check the Upgrading to version 3 doc before upgrading to V3.

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-3.4.0.tar.gz (91.3 kB view details)

Uploaded Source

Built Distribution

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

django_auditlog-3.4.0-py3-none-any.whl (49.5 kB view details)

Uploaded Python 3

File details

Details for the file django_auditlog-3.4.0.tar.gz.

File metadata

  • Download URL: django_auditlog-3.4.0.tar.gz
  • Upload date:
  • Size: 91.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for django_auditlog-3.4.0.tar.gz
Algorithm Hash digest
SHA256 8dbac6927df0dae3a7ae4f67de1f60c7b53f34b60fbf384e4533c1fd1786e87d
MD5 472c9cb38453334169cf4058ebb59a29
BLAKE2b-256 d11badea6915071d631efec40d302db1b41e869cdd01bdb72103aadddfae97ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_auditlog-3.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f820d8dcc851d1ed3f81b2c1280f4cdf18ea76d01ffcfe1b525be8d12c364af7
MD5 b196b7ff32bb65ecde60aceb8ba378a6
BLAKE2b-256 9139845d37db8accc0f91231a1acba2e17d1320e36d83dbaf2714ced4b47aa39

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