mirror of
https://github.com/django/django.git
synced 2025-03-20 14:20:44 +00:00
Aggregation over subquery produced syntactically incorrect queries in some cases as Django didn't ensure that source expressions of the aggregation were present in the subquery.