I have my model setup with foreign key relationships. I can read one table's data to the UI. But I cannot figure out how to read child records onto template. I know it is (in the case of Blog, Author, and Entry) b.entry_set.all(). But I don't know where this code goes. It won't work in the template in a for each loop and I'm not sure how to set it in the view.
my view: mymembers = Members.objects.all() then I return mymembers to the UI. Please help with where I need to code the 'class'_set.all() this so that I can get to child records on template UI. 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 -~----------~----~----~----~------~----~------~--~---