Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

lino_xl.lib.postings.mixins

Defines models for lino_xl.lib.postings.

Classes

CreatePostings([label])

Creates a series of new Postings from this Postable.

Postable(*args, **kwargs)

Mixin for models that provide a "Post" button.

class lino_xl.lib.postings.mixins.CreatePostings(label=None, **kwargs)

Bases: Action

Creates a series of new Postings from this Postable. The Postable gives the list of recipients, and there will be one Posting for each recipient.

Author of each Posting will be the user who issued the action request, even if that user is acting as someone else. You cannot create a Posting in someone else’s name.

class lino_xl.lib.postings.mixins.Postable(*args, **kwargs)

Bases: Model

Mixin for models that provide a “Post” button.