nside_wefa.audit¶
Public surface of the nside_wefa.audit app.
Consumers import everything they need from this top-level module so they
never have to know about the underlying auditlog.* API:
from nside_wefa import audit
audit.register(Order, include_fields=[“status”]) # Path A @audit.audited(include_fields=[“status”]) # Path B class Order(models.Model): …
audit.log(“order.cancel”, actor=request.user, target=order) with audit.set_actor(user):
…
The convenience constants and exceptions are also re-exported here.
Modules
Read-only Django admin for audit |
|
Public Python API for emitting audit events. |
|
Django app configuration for the nside_wefa.audit app. |
|
Built-in audit event sources for the rest of the WeFa toolkit. |
|
System checks for the nside_wefa.audit app. |
|
Immutability guard for |
|
Tamper-evident |
|
Registration helpers for the audit app. |
|
Serializers for audit |
|
Translate |
|
Audit URL configuration. |
|
View exports for the audit app. |