Re: Any way to save the output of a template filter to another variable?

2009-07-08 Thread James Bennett
On Wed, Jul 8, 2009 at 7:01 AM, Adam Stein wrote: > In my specific example, I would like to save the output value from the > 'length' template filter so that I can send it to the 'expr' tag (expr > is a tag that allows you to effectively execute python statements and > save

Re: Any way to save the output of a template filter to another variable?

2009-07-08 Thread Šimon Payne
It is possible to do with Jinja2 template engine: http://jinja.pocoo.org/2/ And I recommend Chouwa for integration. http://bitbucket.org/trevor/chouwa/ It can coexist side by side with Django Templates. Simon On Wed, Jul 8, 2009 at 14:01, Adam Stein wrote: > > Using

Any way to save the output of a template filter to another variable?

2009-07-08 Thread Adam Stein
Using Django v1.0.2. Didn't see or find anything obvious, so I thought I would ask. In my specific example, I would like to save the output value from the 'length' template filter so that I can send it to the 'expr' tag (expr is a tag that allows you to effectively execute python statements and