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
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
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
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
4 matches
Mail list logo