Thank you SO much for helping Kenneth. I just had to change 'workcategory_set' to 'worksample_set' and it's all good. I never would have found this in the documentation without knowing the '_set' keyword, but for those of you who are interested, it's in the documentation here: http://www.djangoproject.com/documentation/db-api/#backward
Thanks again! Brandon On Mar 29, 1:23 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 29-Mar-08, at 11:43 AM, Kenneth Gonsalves wrote: > > > {% for w in wc %} > > <h1>w.title</h1> <-------------- forgot this > > > <ul> > > {% for sample in w.workcategory_set.all %} > > <li>sample</li> > > {% endfor %} > > </ul> > > {% endfor %} > > -- > > regards > kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/code/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---