Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
lino.utils.mldbc¶
Generic support for Multilingual database content.
See usage example in Introduction to multilingual database content.
This includes definition of babel fields in your Django Models as well as methods to access these fields.
Multilingual database content:
BabelTextField
babelkw
babelattr
Defines the babel field classes ( |
|
Defines the model mixins |
Functions
|
Instantiate the given subclass of BabelNamed |
|
Instantiate the given subclass of BabelDesignated |
- lino.utils.mldbc.babel_named(model, name, **kwargs)¶
Instantiate the given subclass of BabelNamed
- lino.utils.mldbc.babeld(model, desig, **kwargs)¶
Instantiate the given subclass of BabelDesignated