mirror of
https://github.com/django/django.git
synced 2025-11-18 19:01:40 +00:00
Ensure ExpressionWrapper passes group by columns from its inner expression, preventing constant expressions from being incorrectly included in the GROUP BY clause. This addresses SQL errors on Postgres with aggregates (# issue). Add regression test to verify correct SQL generation and results. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| models.py | ||
| test_deprecation.py | ||
| test_queryset_values.py | ||
| tests.py | ||