regroup tag

2008-08-30 Thread sholombc
how do i do a regroup under a regroup for example: Male: o George Bush o Bill Clinton Female: o Margaret Thatcher o Condoleezza Rice Unknown: o Pat Smith and then add another regroup for the age: Male:

Re: dictionary lookup in template within regroup tag

2007-05-15 Thread Malcolm Tredinnick
On Tue, 2007-05-15 at 20:40 +, cesco wrote: > Hi, > > I'm trying to render a template using a generic view of the > list_detail type. The list of objects I'm trying to render in the > template (which are offers) have an original_price and a > discounted_price and I'd like to display also the

dictionary lookup in template within regroup tag

2007-05-15 Thread cesco
Hi, I'm trying to render a template using a generic view of the list_detail type. The list of objects I'm trying to render in the template (which are offers) have an original_price and a discounted_price and I'd like to display also the relative discount (that is: (original_price-discounted_price