1 | | @Simon Charette ZOMG, I had a huge brain fart today - {{{Count(..., distinct=True)}}} is in prior commits of mine in my own codebase :/ |
| 1 | Replying to [comment:1 Simon Charette]: |
| 2 | > That's [https://docs.djangoproject.com/en/2.2/topics/db/aggregation/#combining-multiple-aggregations a documented behavior of multiple annotations on multi-valued relationships] see #10060 and #28296 which attempts to address it by allowing aggregates to be wrapped in subqueries. |
| 3 | |
| 4 | ZOMG, I had a huge brain fart today - {{{Count(..., distinct=True)}}} is in prior commits of mine in my own codebase :/ |