Re: Limiting select_related()

2006-12-18 Thread [EMAIL PROTECTED]
If I knew python better I would have done it already :) On Dec 18, 4:49 pm, "Adrian Holovaty" <[EMAIL PROTECTED]> wrote: > On 12/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I'm trying to find a way to tell django "I need these 3 tables, but not > > these 15 tables" from a .select_re

Re: Limiting select_related()

2006-12-18 Thread Adrian Holovaty
On 12/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm trying to find a way to tell django "I need these 3 tables, but not > these 15 tables" from a .select_related() query. Any suggestions? There's currently no way to do this. I'd like to add this functionality but don't have time to co

Re: Limiting select_related()

2006-12-18 Thread Jeremy Dunck
On 12/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I'm trying to find a way to tell django "I need these 3 tables, but not > these 15 tables" from a .select_related() query. Any suggestions? I've wanted this, too, but it requires hacking on django.db.models. I'd be happy with a max de