Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
The topics
plugin in Lino Tera¶
Lino Tera uses the lino_xl.lib.topics
plugin. See
topics : topics and tags for a general description of this module.
Side note: Code snippets (lines starting with >>>
) in this document get
tested as part of our development workflow. The following
initialization snippet tells you which demo project is being used in
this document.
>>> import lino
>>> lino.startup('lino_book.projects.tera1.settings.demo')
>>> from lino.api.doctest import *
>>> from django.db.models import Q
Overview¶
In Lino Tera the topics.partner_model
is None because we use
topics only to describe the content of a therapy using tags, but there is no
“partner” to inform about these taggings.
>>> print(dd.plugins.topics.partner_model)
None
>>> rt.models.topics.Interest
Traceback (most recent call last):
...
AttributeError: module 'lino_xl.lib.topics.models' has no attribute 'Interest'