django/tests/aggregation_regress
Anssi Kääriäinen d5ce2dd7bc [1.8.x] Fixed #24748 -- Fixed incorrect GROUP BY on MySQL in some queries
When the query's model had a self-referential foreign key, the
compiler.get_group_by() code incorrectly used the self-referential
foreign key's column (for example parent_id) as GROUP BY clause
when it should have used the model's primary key column (id).

Backport of adc57632bc from master
2015-05-11 11:52:14 -04:00
..
fixtures Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py [1.8.x] Fixed #24748 -- Fixed incorrect GROUP BY on MySQL in some queries 2015-05-11 11:52:14 -04:00
tests.py [1.8.x] Fixed #24748 -- Fixed incorrect GROUP BY on MySQL in some queries 2015-05-11 11:52:14 -04:00