hello i need to render a table where i need to separate a odd colum to even column
my wrong idea <table cellspacing="1"> <thead> <tr> <th> File Name</th> <th> Size </th> </tr> </thead> {% for m in tutti %} {% if {{m.id}} even %} <tr class="even"> {% else %} <tr class="odd"> {% endif %} <td>{{m.nome_fil}}</td> <td>{{m.lungh}}</td> </tr> {% endfor %} </table> can you help me to write it Thanks Luca --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---