Hi, I have 2 list and want to iterate as one in template. How can I do it. example-> list1 = [10,20,30,30] list2 = [aa,bb,cc,dd]
{% for item in list1 and item1 in list2 %} {{item}} {{item1}} {% endfor%} {% endfor %} which is wrong. How can I fix this. I cant do this: {% for item in list1 %} {% for item1 in list1 %} {{item}} {{item1}} {% endfor %} {% endor %} Because of some html thing. Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---