Hi all.
just a question about how to proceed.
when i've to display data direct from the model (the db) one in a page is simple.
what if i want to display aggregate data or some data that needs logic?
i've to do it in the view and add the object to the contex, or it's better to do a custom tag filter?
what if i've a list of objects and for each object i've to compute an aggregate data?
for example i've a list of cars and for each car i want to know how many models exists. if i do in the view, how can i attach the aggregate data (which is a query) to each car? is it better to do with a custom tag filter?
ciao.
--
Stefano