Re: Query Builder forgets annotations

2011-02-27 Thread Pascal Germroth
Hi, >> It seems the query builder forgets annotations when dealing with joins: > Not in my experience. Yeah I experimented further and it wasn't actually a problem with /that/ part of the query (well, it changed when I added/removed the order_by, but the actual cause was some int

Re: Query Builder forgets annotations

2011-02-27 Thread Karen Tracey
On Sat, Feb 26, 2011 at 12:39 PM, Pascal Germroth wrote: > It seems the query builder forgets annotations when dealing with joins: > > Not in my experience. > > I have this model with Postgresql, Django 1.3 alpha 1 (SVN rev. 15659): > I don't quite understand that Dja

Query Builder forgets annotations

2011-02-26 Thread Pascal Germroth
Hi, It seems the query builder forgets annotations when dealing with joins: I have this model with Postgresql, Django 1.3 alpha 1 (SVN rev. 15659): class Corporation(Model): uuid = UuidField(primary_key=True) class Branch(Model): uuid = UuidField(primary_key=True) corporation