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 rows incrementing in length. Why is this?

this is what i have:

{% for row in rows %}
<tr>
{% for value in row %}
<td>{{ value }}</td>
{% endfor %}
</tr>
{% endfor %}


Thanks,

-- Hugo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to