Re: Concept of partial views to be resolved from other views or template tags

2015-04-25 Thread Stephan Herzog
Thanks for your reply. We are actually using ESIs in one place or another and one of the projects I have in mind for refactoring currently uses ESI to achieve something similar. Varnish however is an additional layer on the server that in many of our cases is not really necessary (as in either n

Concept of partial views to be resolved from other views or template tags

2015-04-25 Thread Stephan Herzog
Hi all, I am wondering if the following is considered a bad practice and might lead to issues. I think it provides a useful pattern, for example for creating template tags or simple ajax use cases where the rendered result of a partial will get frequently updated. # partials.py class SomeParti