no, it doesn't be a controller. But I can not use ajax too, because I need variables in template, but not the rendered block. (and I don't like that LOAD() loads components in new div, because it may cause a problems with css and jquery) So, I think, a one good way is to define some function in db.py, which would prepare some variables which I need in every view.
On 20 мар, 02:09, pbreit <pbreitenb...@gmail.com> wrote: > You can set Ajax=False in LOAD(). > > Does the source function need to be a controller? If not, can you put it in > a model or elsewhere?