lino_welfare.modlib.badges

This module is internally named after the notion of Scout badges <http://en.wikipedia.org/wiki/Scout_badge>.

It defines two models “Badge” and “Award”. Badges represent the different achievement levels that can be awarded. An Award is when a given “holder” has the right to wear a given Badge. The date of an Award is the day when the holder passed a test or something equivalent.

Settings

(This module’s source code is available here.)

Classes

Plugin(site, app_label, app_name, …)

See lino.core.plugin.Plugin.

class lino_welfare.modlib.badges.Plugin(site, app_label, app_name, app_module, needed_by)

See lino.core.plugin.Plugin.

holder_model

A string referring to the model which represents the badge holder in your application. Default value is 'contacts.Person'.