1
0
mirror of https://github.com/django/django.git synced 2025-02-10 01:16:53 +00:00
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
..
2015-04-27 08:40:36 -04:00
2015-04-27 08:40:36 -04:00
2015-02-06 09:30:35 -05:00
2015-03-20 17:57:11 -04:00
2015-02-06 09:30:35 -05:00

To run the test suite::

    $ cd tests
    $ pip install -r requirements/py3.txt  # or py2.txt
    $ PYTHONPATH=..:$PYTHONPATH ./runtests.py

For more information about the test suite, see
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.