django1/django/db/models/sql
Anssi Kääriäinen adc57632bc 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).
2015-05-11 11:42:27 -04:00
..
__init__.py Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
aggregates.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
compiler.py Fixed #24748 -- Fixed incorrect GROUP BY on MySQL in some queries 2015-05-11 11:42:27 -04:00
constants.py Fixed #24020 -- Refactored SQL compiler to use expressions 2015-01-08 14:07:54 -05:00
datastructures.py Fixed #21414 -- Removed RelatedObject and deprecated Field.related. 2014-12-23 10:54:25 -05:00
query.py Fixed #24719 -- Restored the ability to use interators as queryset related object filters. 2015-04-28 10:51:27 -04:00
subqueries.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
where.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00