Re: group-by promotion

2016-01-10 Thread Anssi Kääriäinen
On Saturday, January 9, 2016 at 7:01:38 AM UTC+2, Curtis Maloney wrote: > > Hey all, > > I'm trying to write a PR for adding Postgres9.4's "FILTER" syntax for > aggregates, but I've hit a bug I can't figure how to fix [and nobody's > awake on IRC :)] > >

group-by promotion

2016-01-08 Thread Curtis Maloney
Hey all, I'm trying to write a PR for adding Postgres9.4's "FILTER" syntax for aggregates, but I've hit a bug I can't figure how to fix [and nobody's awake on IRC :)] https://github.com/django/django/pull/5956 Basically, for the query: qset = FilterAggParentModel.objects.annotate(