Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
The lino.api.dd module (database design)¶
See also lino.api
Global application attributes¶
- lino.api.dd.plugins¶
Shortcut to
lino.core.site.Site.plugins.
- lino.api.dd.logger¶
Shortcut to the main Lino logger.
Utilities¶
- lino.api.dd.schedule_often(every=10)¶
Schedule the decorated function to be run “often” (default every 10 seconds).
- lino.api.dd.schedule_daily()¶
Schedule the decorated function to be run “daily”.
The signature of the decorated function must be of the type: typing.Callable[[:class:`BaseRequest <lino.core.requests.base.BaseRequest>`], None]
Actors¶
- class lino.api.dd.Table¶
Shortcut to
lino.core.dbtables.Table
- class lino.api.dd.Choicelist¶
Shortcut to
lino.core.choicelists.ChoiceList
- class lino.api.dd.VirtualTable¶
Shortcut to
lino.core.tables.VirtualTable
- class lino.api.dd.VentilatingTable¶
Shortcut to
lino.core.choicelists.ChoiceList
- class lino.api.dd.Frame¶
Shortcut to
lino.core.frames.Frame
Application:
decfmtstr2kwtodaystrftimebuild_media_urlget_default_language
Extended Fields:
CharFieldCustomFieldDummyFieldForeignKey
Virtual Fields:
Constantand@constantDisplayFieldand@displayfieldVirtualFieldand@virtualfieldHtmlBox
Layouts:
DetailLayoutPanelFormLayoutno longer supported. Application code should use either InsertLayout or DetailLayout instead.
Utilities:
obj2strobj2unicoderange_filter,inrange_filteroverlap_range_filterfull_model_namefields_listchooser- class:
ParameterPanel <lino.core.utils.ParameterPanel>
Inter-app relations:
resolve_fieldresolve_modelresolve_app
Signals:
See Signals overview
Actions:
- lino.api.dd.action()¶
A decorator that turns a class method into an action.
See Write custom actions.
ChangeStateActionMergeAction
Permissions:
UserGroupsUserLevels
Workflows:
WorkflowState