nside_wefa.audit.checks¶
System checks for the nside_wefa.audit app.
Validates:
Application load order:
nside_wefa.common→auditlog→nside_wefa.audit.Presence and shape of the
NSIDE_WEFA.AUDITsettings section. All keys are optional; default values keep the app installable with zero config.Each model label in
MODELSandEXCLUDE_MODELSresolves via the Django app registry. (Auditlog itself silently drops unresolvable entries — failing the boot is the right WeFa default.)Each entry in
BUILTIN_SOURCESis a known WeFa source. Missing source apps are tolerated (the source is silently skipped at install time) but an unknown source name is an error.
Functions
|
Validate the |
|
Validate INSTALLED_APPS order. |