mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #28553 -- Fixed annotation mismatch with QuerySet.values()/values_list() on compound queries.
Co-authored-by: Matthias Kestenholz <mk@feinheit.ch>
This commit is contained in:
committed by
Mariusz Felisiak
parent
39d1e45227
commit
d6b6e5d0fd
@@ -466,8 +466,8 @@ class TestQuerying(PostgreSQLTestCase):
|
||||
],
|
||||
)
|
||||
sql = ctx[0]["sql"]
|
||||
self.assertIn("GROUP BY 1", sql)
|
||||
self.assertIn("ORDER BY 1", sql)
|
||||
self.assertIn("GROUP BY 2", sql)
|
||||
self.assertIn("ORDER BY 2", sql)
|
||||
|
||||
def test_index(self):
|
||||
self.assertSequenceEqual(
|
||||
|
||||
Reference in New Issue
Block a user