lino 25.5.1__py3-none-any.whl → 25.5.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lino/__init__.py +1 -1
- lino/api/dd.py +5 -3
- lino/api/doctest.py +2 -2
- lino/core/__init__.py +3 -3
- lino/core/actions.py +60 -582
- lino/core/actors.py +66 -32
- lino/core/atomizer.py +355 -0
- lino/core/boundaction.py +8 -4
- lino/core/constants.py +3 -1
- lino/core/dbtables.py +4 -3
- lino/core/elems.py +33 -21
- lino/core/fields.py +40 -210
- lino/core/kernel.py +18 -13
- lino/core/layouts.py +30 -57
- lino/core/model.py +6 -4
- lino/core/permissions.py +18 -0
- lino/core/renderer.py +5 -1
- lino/core/requests.py +13 -7
- lino/core/signals.py +1 -1
- lino/core/site.py +7 -8
- lino/core/store.py +13 -156
- lino/core/tables.py +10 -1
- lino/core/utils.py +124 -1
- lino/locale/bn/LC_MESSAGES/django.po +1034 -868
- lino/locale/de/LC_MESSAGES/django.mo +0 -0
- lino/locale/de/LC_MESSAGES/django.po +996 -892
- lino/locale/django.pot +968 -869
- lino/locale/es/LC_MESSAGES/django.po +1032 -869
- lino/locale/et/LC_MESSAGES/django.po +1032 -866
- lino/locale/fr/LC_MESSAGES/django.po +1034 -866
- lino/locale/nl/LC_MESSAGES/django.po +1040 -868
- lino/locale/pt_BR/LC_MESSAGES/django.po +1029 -868
- lino/locale/zh_Hant/LC_MESSAGES/django.po +1029 -868
- lino/mixins/duplicable.py +8 -2
- lino/mixins/registrable.py +1 -1
- lino/modlib/changes/utils.py +4 -3
- lino/modlib/export_excel/models.py +7 -3
- lino/modlib/extjs/ext_renderer.py +1 -1
- lino/modlib/extjs/views.py +5 -0
- lino/modlib/linod/mixins.py +10 -11
- lino/modlib/memo/mixins.py +1 -3
- lino/modlib/summaries/__init__.py +2 -2
- lino/modlib/uploads/ui.py +6 -8
- lino/modlib/users/fixtures/demo_users.py +16 -13
- lino/utils/choosers.py +11 -1
- lino/utils/diag.py +6 -4
- lino/utils/fieldutils.py +14 -11
- lino/utils/instantiator.py +4 -2
- lino/utils/report.py +5 -3
- {lino-25.5.1.dist-info → lino-25.5.3.dist-info}/METADATA +1 -1
- {lino-25.5.1.dist-info → lino-25.5.3.dist-info}/RECORD +54 -53
- {lino-25.5.1.dist-info → lino-25.5.3.dist-info}/WHEEL +0 -0
- {lino-25.5.1.dist-info → lino-25.5.3.dist-info}/licenses/AUTHORS.rst +0 -0
- {lino-25.5.1.dist-info → lino-25.5.3.dist-info}/licenses/COPYING +0 -0
lino/__init__.py
CHANGED
@@ -31,7 +31,7 @@ from django import VERSION
|
|
31
31
|
from django.apps import AppConfig
|
32
32
|
from django.conf import settings
|
33
33
|
import warnings
|
34
|
-
__version__ = '25.5.
|
34
|
+
__version__ = '25.5.3'
|
35
35
|
|
36
36
|
# import setuptools # avoid UserWarning "Distutils was imported before Setuptools"?
|
37
37
|
|
lino/api/dd.py
CHANGED
@@ -66,7 +66,8 @@ from lino.core.actions import SubmitDetail, SubmitInsert
|
|
66
66
|
from lino.core.choicelists import ChoiceList, Choice
|
67
67
|
from lino.core.workflows import State, Workflow, ChangeStateAction
|
68
68
|
|
69
|
-
from lino.core.fields import
|
69
|
+
from lino.core.fields import ImportedFields
|
70
|
+
from lino.core.atomizer import fields_list
|
70
71
|
from lino.core.fields import Dummy, DummyField
|
71
72
|
from lino.core.fields import TimeField
|
72
73
|
from lino.core.fields import TableRow
|
@@ -111,7 +112,8 @@ from lino.core.utils import babel_values
|
|
111
112
|
from lino.utils.choosers import chooser, action_chooser
|
112
113
|
|
113
114
|
# from lino.core.layouts import FormLayout
|
114
|
-
from lino.core.
|
115
|
+
from lino.core.utils import Panel
|
116
|
+
from lino.core.layouts import DetailLayout, InsertLayout
|
115
117
|
from lino.core.layouts import ParamsLayout, ActionParamsLayout
|
116
118
|
from lino.core.layouts import DummyPanel
|
117
119
|
|
@@ -128,7 +130,7 @@ from lino.core.signals import pre_remove_child
|
|
128
130
|
from lino.core.signals import pre_ui_save
|
129
131
|
from lino.core.signals import post_ui_save
|
130
132
|
from lino.core.signals import pre_ui_build
|
131
|
-
from lino.core.signals import post_ui_build
|
133
|
+
# from lino.core.signals import post_ui_build
|
132
134
|
from lino.core.signals import post_delete, pre_delete
|
133
135
|
|
134
136
|
from django.db.models.signals import pre_save, post_save
|
lino/api/doctest.py
CHANGED
@@ -528,14 +528,14 @@ def show_parent_layouts():
|
|
528
528
|
"""
|
529
529
|
Show all actors having a parent layout.
|
530
530
|
"""
|
531
|
-
headers = ["
|
531
|
+
headers = ["actor", "is used in"]
|
532
532
|
rows = []
|
533
533
|
for a in actors.actors_list:
|
534
534
|
if issubclass(a, AbstractTable) and a.parent_layout:
|
535
535
|
parent = a.parent_layout._datasource
|
536
536
|
row = [str(a), str(parent)] # , parent.__module__]
|
537
537
|
rows.append(row)
|
538
|
-
print(rstgen.table(headers, rows))
|
538
|
+
print(rstgen.table(headers, sorted(rows)))
|
539
539
|
|
540
540
|
|
541
541
|
def show_permissions(*args):
|
lino/core/__init__.py
CHANGED
@@ -3,13 +3,13 @@ Contains Lino's core functionalities.
|
|
3
3
|
|
4
4
|
For some modules the documentation has already been migrated to prosa:
|
5
5
|
|
6
|
-
- `plugin` is documented in :doc:`/
|
7
|
-
- `site` is documented in :doc:`/
|
6
|
+
- `plugin` is documented in :doc:`/src/lino/core/plugin`
|
7
|
+
- `site` is documented in :doc:`/src/lino/core/site`
|
8
|
+
- `actions` is documented in :doc:`/src/lino/core/actions`
|
8
9
|
|
9
10
|
.. autosummary::
|
10
11
|
:toctree:
|
11
12
|
|
12
|
-
actions
|
13
13
|
actors
|
14
14
|
boundaction
|
15
15
|
callbacks
|