I just tried two loops "for" imbricated, it does'nt seems to work. It gives an error at the second "endfor" when we use "forloop.first" between the two. But Django is as brillant as the music of Django! Thank's a lot. Here is the the code: <table> {% for ligne in tableau %} <tr> {% if forloop.first %} {% for titre in ligne %} <th align=center>{{ titre }}</th> {% endfor %} {% else %} { for elt in line %} <td align=left>{{ elt }}</td> {% endfor %} {% endif %} </tr> {% endfor %}</table>
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---