Adds voting functionality.
See votes: User opinions.
- class lino_xl.lib.votes.Plugin(site, app_label, app_name, app_module, needed_by, configs: dict)¶
- votable_model = 'tickets.Ticket'¶
The things we are voting about. A string referring to the model that represents a votable in your application.
Default value is
- use_candidatures = False¶
Whether to use votes for implementing a kind of polling: when somebody posts a ticket, other users are asked to vote on it, deciding whether they take it or not.