Comment 1 for bug 1884112

Revision history for this message
Adam Collard (adam-collard) wrote :

This is because .annotate() with more than one Count() is buggy - see https://docs.djangoproject.com/en/3.0/topics/db/aggregation/#combining-multiple-aggregations and https://code.djangoproject.com/ticket/10060

This was introduced in 678f4b8b9549108c8dd49af6734f50c6671ffb80