Contacts

This document is part of the Lino test suite and has been tested using doctest. You can re-play the instructions on this page in the demo project, either interactively in a Django shell session or by writing a script and run it using run. Read also the general documentation about Doctests in Lino. The following instructions are used for initialization:

>>> from lino import startup
>>> startup('lino_presto.projects.noereth.settings.doctests')
>>> from lino.api.doctest import *
class lino_presto.lib.contacts.Worker

The Django model which represents a worker.

A MTI child of Person

20190527

>>> ba = rt.models.contacts.Workers.detail_action
>>> ut = rt.login('rolf').get_user().user_type
>>> ba.get_view_permission(ut)
True