Re: array grouping in templates

2008-10-20 Thread jhf555
Thanks a lot for your help everyone...those are great resources. On Oct 12, 5:50 am, Tim Chase <[EMAIL PROTECTED]> wrote: > > I have an array and I want to use Django templating to display each > > item in a table, grouped by 3 per row. > > For example, if i have > >   arr = ["a", "b", "c", "d",

Re: array grouping in templates

2008-10-12 Thread Tim Chase
> I have an array and I want to use Django templating to display each > item in a table, grouped by 3 per row. > For example, if i have > arr = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"] > Then I'd want it to show up as > > abc > def > ghi > j > > > In general, the array could

Re: array grouping in templates

2008-10-12 Thread Steve Holden
Daniel Roseman wrote: > On Oct 11, 7:58 am, jhf555 <[EMAIL PROTECTED]> wrote: > >> I have an array and I want to use Django templating to display each >> item in a table, grouped by 3 per row. >> For example, if i have >> arr = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"] >> Then I'd wa

Re: array grouping in templates

2008-10-11 Thread Daniel Roseman
On Oct 11, 7:58 am, jhf555 <[EMAIL PROTECTED]> wrote: > I have an array and I want to use Django templating to display each > item in a table, grouped by 3 per row. > For example, if i have >   arr = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"] > Then I'd want it to show up as > >   abc >  

array grouping in templates

2008-10-11 Thread jhf555
I have an array and I want to use Django templating to display each item in a table, grouped by 3 per row. For example, if i have arr = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"] Then I'd want it to show up as abc def ghi j In general, the array could be any length, and it's p