Re: Eager loading backward relationships

2008-11-10 Thread vmihaylov
Yes, but I thinks this will not load blog objects that do not have entries. Vassil On Nov 10, 12:17 pm, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Nov 10, 7:18 am, vmihaylov <[EMAIL PROTECTED]> wrote: > > > Hello everyone, > > I need to eager load an object along with any backward relations

Re: Eager loading backward relationships

2008-11-10 Thread Daniel Roseman
On Nov 10, 7:18 am, vmihaylov <[EMAIL PROTECTED]> wrote: > Hello everyone, > I need to eager load an object along with any backward relationships > it has. > But I can't figure out how to do it. > Lets consider the example > fromhttp://docs.djangoproject.com/en/dev/topics/db/queries/ > What I wan

Eager loading backward relationships

2008-11-09 Thread vmihaylov
Hello everyone, I need to eager load an object along with any backward relationships it has. But I can't figure out how to do it. Lets consider the example from http://docs.djangoproject.com/en/dev/topics/db/queries/ What I want is to load a blog object and then access its entries even if they ar