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

lino_xl.lib.families.models

Database models for lino_xl.lib.families.

Classes

Child(*args, **kwargs)

Couple(id, father, mother, married, ...)

CoupleField(parents_name, my_attname, ...)

An editable virtual field that looks like a FK to a contacts.Person but is stored as a Couple instance.

Couples(*args, **kw)

class lino_xl.lib.families.models.Couple(id, father, mother, married, married_place, divorced)

Bases: Model

class lino_xl.lib.families.models.CoupleField(parents_name, my_attname, other_attname, verbose_name)

Bases: VirtualField

An editable virtual field that looks like a FK to a contacts.Person but is stored as a Couple instance.