mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
4e8ecf0cb6
The subquery pushdown only happens because another table is involved in filter. It's not the distinct usage that causes the pushdown. The distinct('description').order_by('pk') expression is not valid because SELECT DISTINCT ON must match initial ORDER BY expressions which is not the case here. |
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
tests.py |