Turbogears2 migration: tests: "cannot import name meta"
Mads Kiilerich
mads at kiilerich.com
Sun Sep 25 13:42:15 UTC 2016
On 09/25/2016 03:32 PM, Thomas De Schampheleire wrote:
> A question that also needs to be answered is: what belongs in
> kallithea/lib/helpers.py and what in kallithea/lib/utils.py and what
> in kallithea/lib/utils2.py. Where is the split?
Yes, it is a mess. I guess that is where experiments must show what is
feasible improvements.
I would say that helpers is what is available in templates as 'h' and
could/should thus be quite high level and might depend on Pylons and the
database. (It should thus perhaps not be in lib but in model?)
It seems like utils2 generally is quite low level and almost doesn't
depend on model. It could thus seem like a/the "real" lib utils.
utils depend much more on model, and parts of it should thus perhaps
move to a more high level model utils ... but there are probably also
"good" parts of it that can stay in lib.
/Mads
More information about the kallithea-general
mailing list