#3960 (Local config dir is at second place (instead of first place))
by Luc Saffre · in Developers · assigned to Luc Saffre
Summary
This seems to be a reproducible bug: go gerd; mkdir settings/config; pm diag also shows the local config dir at second place.
Children
Comments
- 5 years, 8 months ago by Luc Saffre about #3960 (Local config dir is at second place (instead of first place)) : The problem came because ConfigDirCache.scan_config_dirs() also looped over Site.get_settings_subdirs(). And this iterator also finds lino.modlib.welfare (because it contains a settings.py which defines a subclass of Site, which is inherited by the settings in gerd). But I don't see why this extra c...
- 5 years, 8 months ago by Luc Saffre about #3960 (Local config dir is at second place (instead of first place)) : Observation: The output of "pm diag" is correct in the apc demo project (currently the only demo project that also has a local config dir). But when I create a local config dir in demo project gerd, the output is not correct:
.../welfare/lino_welfare/modlib/welfare/config .../welfare/lino_welfare/pr...