Derek,

I appreciate the followup. That works, but I have to say, I don't
understand *why* it works! It's as if Django automagically follows
ForeignKeys, without having to call select_related().

It's also highly confusing that you call
'labelingredient.ingredient.name' and not
'labelingredient.ingredient_id.name', but that might be because I'm
expecting this to work like a perl hash.

None of which changes the fact that your solution works. For that, I
thank you :)


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to