Re: assign or rename a variable in templates

2006-01-30 Thread tonemcd
Bryan, If you can handle Zope PageTemplates, the plugin from Stefan might be useful: http://www.zope.org/Members/shh/DjangoPageTemplates That allows for variable creation, but of course you don't get the django templates... Cheers, Tone

Re: assign or rename a variable in templates

2006-01-18 Thread Bryan Murdock
On 1/18/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 1/17/06, Bryan Murdock <[EMAIL PROTECTED]> wrote: > > Is it possible to somehow rename or assign one variable to another in > > a template? All the generic views provide an object_list, except > > archive_index which provides latest.

Re: assign or rename a variable in templates

2006-01-18 Thread Adrian Holovaty
On 1/17/06, Bryan Murdock <[EMAIL PROTECTED]> wrote: > Is it possible to somehow rename or assign one variable to another in > a template? All the generic views provide an object_list, except > archive_index which provides latest. I'm trying to write a generic > template that loops through the

assign or rename a variable in templates

2006-01-17 Thread Bryan Murdock
Is it possible to somehow rename or assign one variable to another in a template? All the generic views provide an object_list, except archive_index which provides latest. I'm trying to write a generic template that loops through the object_list (or latest) for all the date-based generic views,