diff --git a/auditlog/signals.py b/auditlog/signals.py index 0f992d1..f6d0389 100644 --- a/auditlog/signals.py +++ b/auditlog/signals.py @@ -20,7 +20,9 @@ Keyword arguments sent with this signal: audit log entry. Type: :class:`auditlog.models.LogEntry.Action` The receivers' return values are sent to any :func:`post_log` -signal receivers. +signal receivers, with one exception: if any receiver returns False, +no logging will be made. This can be useful if logging should be +conditionally enabled / disabled """ post_log = django.dispatch.Signal()