lino.modlib.checkdata¶
Adds functionality for handling data problems.
See checkdata : High-level integrity tests.
User roles for lino.modlib.checkdata. |
|
Runs the |
|
Defines the |
(This module's source code is available here.)
Classes
|
The config descriptor for this plugin. |
-
class
lino.modlib.checkdata.
Plugin
(site, app_label, app_name, app_module, needed_by)¶ Bases:
lino.core.plugin.Plugin
The config descriptor for this plugin.
-
responsible_user
¶ The
username
of the main checkdata responsible, i.e. a designated user who will be attributed to data problems for which no specific responible could be designated (returned by the checker'sget_responsible_user
method).The default value for this is None, except on a demo site (i.e. which has
is_demo_site
set to True) where it is"'robin'
.
-
on_plugins_loaded
(site)¶ Set
responsible_user
to"'robin'
if this is a demo site (is_demo_site
).
-