Re: Understanding FKs vs JOIN

2006-07-09 Thread Jeremy Dunck
On 7/8/06, bradford <[EMAIL PROTECTED]> wrote: > > I have a Model Foo, with a FK to user. > > if i do f = Foo.objects.get(id=1) and all i need from that is f.title > and j.user.username in my template... is it returning more info than > needed with User. I mean, is it getting the entire user obj

Re: Understanding FKs vs JOIN

2006-07-08 Thread bradford
Thanks, Malcolm -- as always :) --~--~-~--~~~---~--~~ 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

Re: Understanding FKs vs JOIN

2006-07-08 Thread Malcolm Tredinnick
On Sat, 2006-07-08 at 21:22 -0700, bradford wrote: > I have a Model Foo, with a FK to user. > > if i do f = Foo.objects.get(id=1) and all i need from that is f.title > and j.user.username in my template... is it returning more info than > needed with User. I mean, is it getting the entire user