On 8/3/07, James Bennett <[EMAIL PROTECTED]> wrote: > Foo.objects.extra(where=['id IN (SELECT %s FROM %s)' % Bar._meta.db_table])
Should have been: > Foo.objects.extra(where=['id IN (SELECT foo_id FROM %s)' % > Bar._meta.db_table]) (sent before I realized I'd decided not to use quote_name() for the example) -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---