Re: rendering a table

2009-09-27 Thread Wim Feijen
Hi Hugo, Your template code, does it actually contains and ? Like below? {% for row in rows %} {% for value in row %} {{ value }} {% endfor %} {% endfor %} Then, what does rows look like? Can you post your output please? To get this output, for example, use "print rows" before you render

Re: rendering a table

2009-09-27 Thread jhugo
What i want to display as a table is the fallowing: rows---row--- row ---row | | | number1 name1 date1 number2 name2 date2 number3 name3 date3 Now when django renders my template i get this: number1

Re: rendering a table

2009-09-27 Thread Léon Dignòn
Could you post your list and your output please? On Sep 27, 2:04 am, jhugo wrote: > Hi, > > I want to render a table using a list of list. What I do is create a > list for the rows and append another list for the columns. I use two > fors in my template to render the table and as the first loop

rendering a table

2009-09-26 Thread jhugo
Hi, I want to render a table using a list of list. What I do is create a list for the rows and append another list for the columns. I use two fors in my template to render the table and as the first loop progress the second always renders the values from the beginning and a i end up having my row