On Jun 10, 3:12 pm, Chris McComas <mccomas.ch...@gmail.com> wrote: > tethered my phone to my laptop to test it out...have this code in my > template: > > {% regroup feeds by feed_type as feed_list %} > {% for feed_type in feed_list %} > {{ feed_type.grouper }} > > {% for entry in feed_type.list %} > <li>{{ entry.title }}</li> > {% endfor %} > {% endfor %} > > it does the first {% for %} loop perfectly, the second {% for %} loop > gets the Feed from the database for that FeedType,
??? Not sure I understand what you mean... > but I need it to > get FeedItems for Feed in FeedType You mean something like this ? {% regroup feeds by feed_type as feed_list %} <ul> {% for feed_type in feed_list %} <li> {{ feed_type.grouper }} <ul> {% for feed in feed_type.list %} <li> {{ feed.title }} <ul> {% for feeditem in feed.items %} <li>{{ item.title }}</li> {% endfor %} </ul> </li> {% endfor %} </ul> </li> {% endfor %} </ul> -- 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.