lino 24.10.1__py3-none-any.whl → 24.10.2__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 CHANGED
@@ -26,7 +26,7 @@ defines no models, some template files, a series of :term:`django-admin commands
26
26
 
27
27
  """
28
28
 
29
- __version__ = '24.10.1'
29
+ __version__ = '24.10.2'
30
30
 
31
31
  # import setuptools # avoid UserWarning "Distutils was imported before Setuptools"?
32
32
 
lino/core/fields.py CHANGED
@@ -1738,7 +1738,8 @@ def choices_for_field(ar, holder, field):
1738
1738
  if isinstance(field, models.ForeignKey):
1739
1739
  m = field.remote_field.model
1740
1740
  t = m.get_default_table()
1741
- qs = t.request(request=ar.request).data_iterator
1741
+ # qs = t.request(request=ar.request).data_iterator
1742
+ qs = t.request(parent=ar).data_iterator
1742
1743
 
1743
1744
  # logger.info('20120710 choices_view(FK) %s --> %s', t, qs.query)
1744
1745
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lino
3
- Version: 24.10.1
3
+ Version: 24.10.2
4
4
  Summary: A framework for writing desktop-like web applications using Django and ExtJS or React
5
5
  Project-URL: Homepage, https://www.lino-framework.org
6
6
  Project-URL: Repository, https://gitlab.com/lino-framework/lino
@@ -1,6 +1,6 @@
1
1
  lino/.cvsignore,sha256=1vrrWoP-WD8hPfCszHHIiJEi8KUMRCt5WvoKB9TSB1k,28
2
2
  lino/SciTEDirectory.properties,sha256=rCYi_e-6h8Yx5DwXhAa6MBPlVINcl6Vv9BQDYZV2_go,28
3
- lino/__init__.py,sha256=BjoqzZU_BV7wBEGLmgzcdC3zSULQpzPc7cOPIwFGobU,5585
3
+ lino/__init__.py,sha256=ISO_sqTgmyY5do7wrEc2SMiswT8DTnaL49JbqPkWny0,5585
4
4
  lino/ad.py,sha256=AQ-vJ4scac1mx3xegXezxnxyOQpV-a0q3VFMJSDbj2s,142
5
5
  lino/apps.py,sha256=ECq-dPARDkuhngwNrcipse3b4Irj70HxJs44uWEZFc4,27
6
6
  lino/hello.py,sha256=7-PJg7PnEiznyETqGjOwXcKh8rda0qLetpbS2gvRYy0,532
@@ -42,7 +42,7 @@ lino/core/ddh.py,sha256=dYScxWKTOCDEgow7wJNJe812ESasmmITPK2ovraBQno,3172
42
42
  lino/core/diff.py,sha256=XQ-oQQDS_v3kXd4eRP9Hwr5UCgp-TPZIPVav9ZblUno,5882
43
43
  lino/core/elems.py,sha256=E_88KAmjtOGkH3tgj58CzyN2-7hOpRfv2ZeNB-uBfZU,108340
44
44
  lino/core/exceptions.py,sha256=QDxDo5cllSyXQ8VWet9hGXzNadxCOmwMVrFXc6V-vpE,665
45
- lino/core/fields.py,sha256=Bo2PP6r0vhLvzOQcgof0cF79rUX3fam-C7LSoVnnPUw,56640
45
+ lino/core/fields.py,sha256=RUzDXJUDXhlEjQ2GE3ntiLyQTVWEs9EBmYvsj-aUxvI,56690
46
46
  lino/core/frames.py,sha256=ISxgq9zyZfqW3tDZMWdKi9Ij455lT_81qBH0xex0bfE,1161
47
47
  lino/core/gfks.py,sha256=6VXn2FSIXOrwVq0stfbPevT37EWg1tg4Fn-HMNVnbmk,1970
48
48
  lino/core/help.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -4639,8 +4639,8 @@ lino/utils/xml.py,sha256=4Z44W1e5HvTVrU8erkohgnwqY-5Cr2NHywaAJ5OgRvw,989
4639
4639
  lino/utils/mldbc/__init__.py,sha256=QqWRlzeXaOmFfbCk-vTY3SZMn1-FCf67XnpZdd_Nim0,1134
4640
4640
  lino/utils/mldbc/fields.py,sha256=tAX8G5UKigr9c6g0F3ARIjZZtg406mdaZ--PWSbiH9E,2873
4641
4641
  lino/utils/mldbc/mixins.py,sha256=CkYe5jDa7xp9fJq_V8zcZf8ocxgIjUgHc9KZccvA_Yw,1945
4642
- lino-24.10.1.dist-info/METADATA,sha256=N-jOsI2t771g8F3Y9A-Eao7HhyodAp3Q_ojQ6neTJPs,42535
4643
- lino-24.10.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
4644
- lino-24.10.1.dist-info/licenses/AUTHORS.rst,sha256=8VEm_G4HOmYEa4oi1nVoKKsdo4JanekEJCefWd2E8vk,981
4645
- lino-24.10.1.dist-info/licenses/COPYING,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
4646
- lino-24.10.1.dist-info/RECORD,,
4642
+ lino-24.10.2.dist-info/METADATA,sha256=ntU1BmW4OU6iHggi-NZO_PMuJVTb9oUJ6TSEG2NMagU,42535
4643
+ lino-24.10.2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
4644
+ lino-24.10.2.dist-info/licenses/AUTHORS.rst,sha256=8VEm_G4HOmYEa4oi1nVoKKsdo4JanekEJCefWd2E8vk,981
4645
+ lino-24.10.2.dist-info/licenses/COPYING,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
4646
+ lino-24.10.2.dist-info/RECORD,,
File without changes