Bibles

Note

This is a tested document, which means that you can re-play the instructions on this page in your own database, either interactively in a Django manage.py shell, or by writing a script and run it using manage.py run. It must be of course a Lino Logos application, installed as explained in Installing Lino Logos.

The following statement imports a set of often-used global names:

>>> from lino.api.shell import *

We can now refer to every installed app via it’s app_label. For example here is how we can verify here that the demo database has three Sections and four Texts:

>>> bibles.Section.objects.count()
9
>>> bibles.Edition.objects.count()
3