django/tests/queries
Simon Charette 21f8be76d4 Fixed #36288 -- Addressed improper handling of duplicates in values_list().
Now that selected aliases are stored in sql.Query.selected: dict[str, Any]
the values_list() method must ensures that duplicate field name references are
assigned unique aliases.

Refs #28900.

Regression in 65ad4ade74.

Thanks Claude for the report.
2025-04-11 09:04:49 +02:00
..
__init__.py
models.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
test_bulk_update.py Refs #36075 -- Adjusted pk_fields usage in bulk_update eligibility checks. 2025-01-14 16:21:19 +01:00
test_contains.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_db_returning.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_explain.py Fixed #35856 -- Added QuerySet.explain() support for MEMORY/SERIALIZE option on PostgreSQL 17+. 2024-10-30 15:54:48 +01:00
test_iterator.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_q.py Fixed #35712 -- Prevented Q.check() from leaving the connection in an unusable state. 2024-09-02 17:00:55 +02:00
test_qs_combinators.py Fixed #35011, Refs #28900 -- Added tests for QuerySet.union() with multiple models and DateTimeField annotations. 2024-11-08 13:16:44 +01:00
test_query.py Refs #33308 -- Avoided passing None to RawSQL's params. 2022-12-02 10:56:09 +01:00
test_sqlcompiler.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
tests.py Fixed #36288 -- Addressed improper handling of duplicates in values_list(). 2025-04-11 09:04:49 +02:00