Skip to main content

Django Audit Events

Build status Documentation status PyPI PyPI - Django version PyPI - Python version PyPI - License Total alerts Code quality

Extensible custom audit events for humans! This Django app allows you to easily create your own events in your project. Currently only works on PostgreSQL.

Let's have a look:

def awesome_view(request):
    foo_obj = Foo.objects.get(pk=1)
    # Do something with foo_obj...
    request.audit_context.create_event(
        foo_obj,
        something="done",
        bar="baz"
    )

This will create an audit event, including the request URL, logged-in user, remote IP address, and the following event content:

>>> event.content
{"something": "done", "bar: "baz"}

For more information about installation and usage, check out the documentation!

Release files for django-audit-events 0.2.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-audit-events 0.2.14
File Size Uploaded
django-audit-events-0.2.14.tar.gz 20.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-audit-events 0.2.14
File Interpreter ABI Platform
django_audit_events-0.2.14-py3-none-any.whl Python 3 none any Details

Total release size: 42.0 kB

Release files / django-audit-events-0.2.14.tar.gz

Download URL django-audit-events-0.2.14.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0bbd659ab86dc857ce365c58121b273e52c082ef2010ccb3f2912056d2ac5d2f
BLAKE2b-256 checksum
How to use checksums
b6d24cf41f899f4edb9eaf6396de28b763adc6f1279bc317776384ccb60cf881
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.17

Release files / django_audit_events-0.2.14-py3-none-any.whl

Download URL django_audit_events-0.2.14-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
048273e0229f2120c7fc3d55d558e346cd1db1e33540366692b7015f2baf289a
BLAKE2b-256 checksum
How to use checksums
ec65ab100847ce24f0ae1f476da61d1f2e6c4f8990b7d4e6d51ea1e9ad21cf08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.17
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page