You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `FIELD_AUDIT_AUDITEVENT_MANAGER` | A custom manager to use for the `AuditEvent` Model. | `field_audit.models.DefaultAuditEventManager`
67
67
| `FIELD_AUDIT_AUDITORS` | A custom list of auditors for acquiring `change_context` info. | `["field_audit.auditors.RequestAuditor", "field_audit.auditors.SystemUserAuditor"]`
68
+
| `FIELD_AUDIT_ENABLED` | Global switch to enable/disable all auditing operations. | `True`
68
69
| `FIELD_AUDIT_SERVICE_CLASS` | A custom service class for audit logic implementation. | `field_audit.services.AuditService`
69
70
70
71
### Custom Audit Service
@@ -264,6 +265,87 @@ is currently the only way to "top up" bootstrap audit events. Example:
**Thread Safety**: The disable mechanism is thread-safe and async-safe, using Python's `contextvars` module. Each thread/coroutine has its own independent state.
348
+
267
349
### Using with SQLite
268
350
269
351
This app uses Django's `JSONField` which means if you intend to use the app with
0 commit comments