On 9/19/07, olivier <[EMAIL PROTECTED]> wrote: > > Hi all, > > Is there a way to switch django's relationship building from INNER > JOIN to LEFT OUTER JOIN ? > It causes unexpected behaviour when filtering on both parent and child > tables.
Not really. There is a limited ability to control the join behaviour with Q objects, but this isn't documented, and isn't particularly robust. Adding the ability to control joins is one of the principal reasons behind the queryset refactor, which now has a branch for development. The branch isn't really ready for prime-time yet, but it may give you an idea of where we are heading. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---