Welcome | Get started | Dive into Lino | Contribute | Topics | Reference | More

Multi-table inheritance

Django's Multi-table inheritance (MTI) is a great feature to map Polymorphism. into a relational database.

Lino provides an intuitive user interface for managing MTI by adding some features:

  • an MTI navigator lino.mixins.polymorphic

  • Form Layouts can inherit from their MTI parent model's layout.

  • a special CheckBox widget (EnableChild) that allows to convert existing data records into a more specialized child model, or back into a less specialized parent model.

See also: