#4810 (make lino site read from lino.ini)
by Sharif Mehedi · in Developers · assigned to Sharif Mehedi
Kurzbeschreibung
Kinder
Kommentare
- 3 Jahre, 9 Monate ago von Sharif Mehedi about #4810 (make lino site read from lino.ini) : I published to code which read from lino.ini file at site startup. also wrote a management command 'update_conf' which reads from get_plugin_configs and writes them to lino.ini file.
- 3 Jahre, 9 Monate ago von Sharif Mehedi about #4810 (make lino site read from lino.ini) : Also, if we read from lino.ini, which setting should take precedence over the other? I mean if a setting exists on settings.py as well as on lino.ini, in such case, which setting should take precedence. From the perspective of a site administrator, the lino.ini should take precedence. I am not sure ...
- 3 Jahre, 9 Monate ago von Sharif Mehedi about #4810 (make lino site read from lino.ini) : I did some little changes on site.py and plugin.py. In site.py, we pass in the PLUGIN_CONFIGS[plugin_name] dict into the Plugin's __init__ method. and in plugin.py , on the Plugin.__init__ method it calls configure() before on_init()
- 3 Jahre, 9 Monate ago von Sharif Mehedi about #4810 (make lino site read from lino.ini) : Created new Ticket #4810 (⚹ make lino site read from lino.ini).