lino_xl.lib.families.models

Database models for lino_xl.lib.families.

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

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: lino.core.model.Model

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

Bases: lino.core.fields.VirtualField

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