On Wed, 2008-01-09 at 19:47 -0800, Ken wrote: > I need some advice. I'm struggling with a query that spans 4 tables. > "Struggling" is a bad word; I'll explain later. Django uses a model- > oriented query system together with a Foreign Key manager to get to > the "next" joining table. A query that spans several tables results > in a deeply nested loop.
No, it usually doesn't. Unfortunately, you haven't provided any specific details about what you are trying to do, so it's difficult to offer any advice. If you could post a short example illustrating the related models you've got and what you're trying to query, we can probably help out. Regards, Malcolm -- The cost of feathers has risen; even down is up! http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---