Hello,
I'm sending two list to my template.  I'm looping through one of my
list in a for loop.  Within that for loop I want to display that
contents of my other list.  Here is what I have so far:

////////////////////////////

Here is my return statement in my view that calls the template.

return render_to_response('webpage.htm', {'manu': s, 'thelist':
mylist})

/////////////////////////////////////////

Here is what I have in my template

{% for a in manu %}
<a href="/test/">{{ thelist.{{forloop.counter0}} }}</a>
{% endfor %}

So each time I go through my loop I want to display the contents of
mylist.  So the first time through the for loop then the contents of
mylist.0 is displayed.  Then the next time through then mylist.1 is
displayed, etc...

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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to