Re: render_to_* vs Template.render

2011-02-22 Thread Russell Keith-Magee
On Tue, Feb 22, 2011 at 6:41 AM, Chris Beaven wrote: > After hunting down a very elusive bug, I found the cause to be due to the > fact that render_to_string leaves the context in a different state than it > started (due to the context stack being pushed before rendering, and then > not popped). >

render_to_* vs Template.render

2011-02-21 Thread Chris Beaven
After hunting down a very elusive bug, I found the cause to be due to the fact that render_to_string leaves the context in a different state than it started (due to the context stack being pushed before rendering, and then not popped). This behavior differs from a standard Template.render call