django-audit-events 0.3.5

Creator: codyrutscher

Last updated:

Add to Cart

Description:

djangoauditevents 0.3.5

Django Audit Events








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!

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.