On 02/13/2015 09:34 PM, Thomas De Schampheleire wrote:
For this static implementation, where one template file 'includes' the other, 
there are also two variants used:
- render the included template from the controller, store it in a variable that 
is passed in the controller context, and display the variable from the main 
template.

I don't think that is a good idea. I don't think pattern it is used that much? It is not so MVC-ish.

- or let the main template include the other template directly from mako code.

+1
I think it is better to handle all templating in the templates.

/Mads
_______________________________________________
kallithea-general mailing list
[email protected]
http://lists.sfconservancy.org/mailman/listinfo/kallithea-general

Reply via email to