Can anyone help with this - I found some code in the QuerySet API reference
# Hits the database. e = Entry.objects.select_related().get(id=5) # Doesn't hit the database, because e.blog has been prepopulated # in the previous query. b = e.blog As opposed to getting a single id, I couldn't find anywhere that would show how to iterate through this, and couldn't understand how to use the iterator(). Could someone give an example of how to match up all of the entries to their appropriate blogs? I believe this would be identical to matching up my Query to my Copy, as there are multiple Queries to a single Copy, only we're using an example from the API :) Thanks in advance, -Alex --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---