Kamil Wdowicz wrote regarding to handling loops:
<div id="no_1">
{% for a in list|slice:"1" %}
{{ something }}
{% endfor %}
</div>
<div id="no_2">
{% for a in list|slice:"1:3" %}
{{ something }}
{% endfor %}
</div>
<div id="no_3">
{% for a in list|slice:"3:" %}
{{ something }}
{% endfor %}
</div>
What can be done to fill a table with a given list?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---