Re: Regroup tag with intervals

2007-08-14 Thread sime
> I've accomplished the same thing with a template filter called "bunch" > -- it converts a list into a list of tuples that have been bunched. > I'd rather add a "bunch" filter than make this change to the regroup > tag, because this would completely change the meaning of the regroup > tag. Sound

Re: Regroup tag with intervals

2007-08-14 Thread Adrian Holovaty
On 7/31/07, sime <[EMAIL PROTECTED]> wrote: > Hi all I have a patch to the regroup tag which allows -- > > Regroup into any number of groups, of set size -- > {% regroup list every 4 as grouped %} > > Regroup into set number of groups, at any size -- > {% regroup list into 4 as grouped %} > > I've

Regroup tag with intervals

2007-07-31 Thread sime
Hi all I have a patch to the regroup tag which allows -- Regroup into any number of groups, of set size -- {% regroup list every 4 as grouped %} Regroup into set number of groups, at any size -- {% regroup list into 4 as grouped %} I've found this indispensable in rendering unordered lists wher