1) no body...this leaves the question up to a lot of interpretation. 2) what happens if the list has an odd number of items list?
3) what happens if there are a prime number of items in the list? You might also be interested in my columnize() filter[1] which could be modified to use a heuristic like above, or it can be used as-is to divide into N columns, padding out the last row if needed. -tim [1] http://groups.google.com/group/django-users/browse_frm/thread/b5f531e2aba49b4a/fbea1e7fae61dd52 --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---