Yann Weber
693bfd7a45
Adding a new feature to LeFactory
Now lefactory inject python code from lodel/leapi/lefactory_common.py in generated code
8 년 전
m.orban
c6e798e7e4
Rebase an import. A wrong manipulation on a comment.
8 년 전
m.orban
cabfd95b73
Added some commentson header function
8 년 전
Yann Weber
ae8d8c05a6
Bugfix on EM groups handling (now we have to set actives groups in settings)
8 년 전
Yann Weber
8e6e60f0f4
Bugfixes concerning UniqID and select on abtract LeObject child
8 년 전
Yann Weber
36bded3051
Add the possibility to add custom methods ton LeAPI dynamic objects using plugin
8 년 전
Yann Weber
1f1e6f13b3
Add a new get_class_childs to Model class and a child_classes method to LeObject
Now lefactory populate a LeObject attribute named _child_classes
8 년 전
Yann Weber
9a82936fbf
Datasources plugins enhancement and loading bugfixes
- now we have a LodelHook to trigger migration handlers loading
- datasources initialization in dyncode is now trigger by a hook (lodel2_plugin_loaded)
- datasources loading by dyncode is better
8 년 전
Yann Weber
77e7c36de9
Not fully tested. Enables separated datasources for read only or read&write access to the DB
8 년 전
Yann Weber
616acd387d
Modified LeObject adding a _datasource_name attribute
The _datasource_name attribute replace the old _datasource attribute. The goal of the modification is to maintain easyly accessible datasource UID
8 년 전
Yann Weber
b683d68d83
Adding datasourc boostrapîng instructions in leaftory generated dyncode
+ better log message for datasource bootstrap
8 년 전
Yann Weber
a7c69629e7
Introducing a datasource attribute by em_class
8 년 전
Yann Weber
c5971d9590
Updated comments (and deleting space between ## and @brief )
8 년 전
Yann Weber
2c47c71116
Modification in backreference handling.
Now a backreference is represented by a tuple(LeObject child class, fieldname)
8 년 전
Yann Weber
01df586379
Bugfix in lefactory method that allow to sort EmClass by dependencies + test update
8 년 전
Yann Weber
f572743c09
Bugfixes + add backreference support in datahandlers (untested)
8 년 전
Yann Weber
e5898b29b6
Refactoring of datahandlers to simplify from_name() method
Warning, this commit is in a broken state. The em_test.py doesn't works yet
because it uses old relation handler (that doesn't exists anymore). The pickle file in
example is broken too
8 년 전
Yann Weber
747205a0fe
LeFactory first implementation
This implementation is broken because of relation data_handler. Backreference is a broken concept and relation data_handler too.
8 년 전