lino_xl.lib.votes

Adds voting functionality.

choicelists

Choicelists for this plugin.

models

Database models for this plugin.

actions

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

mixins

Model mixins for this plugin.

fixtures.demo2

No longer used.

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

Classes

Plugin(site, app_label, app_name, ...)

See lino.core.plugin.Plugin.

class lino_xl.lib.votes.Plugin(site, app_label, app_name, app_module, needed_by)

Bases: lino.core.plugin.Plugin

See lino.core.plugin.Plugin.

votable_model = 'tickets.Ticket'

The things we are voting about. A string referring to the model which represents a votable in your application. Default value is 'tickets.Ticket' (referring to lino_xl.lib.tickets.models.Ticket).