django1/django/db/models/sql
Mariusz Felisiak 93a42d43a6 [4.0.x] Fixed #33159 -- Reverted "Fixed #32970 -- Changed WhereNode.clone() to create a shallow copy of children."
This reverts commit e441847eca.

A shallow copy is not enough because querysets can be reused and
evaluated in nested nodes, which shouldn't mutate JOIN aliases.

Thanks Michal Čihař for the report.
Backport of 903aaa35e5 from main
2021-09-30 11:26:53 +02:00
..
__init__.py Removed some outdated backwards compatibility imports and misleading comments. 2019-09-24 15:18:53 +02:00
compiler.py [4.0.x] Fixed #33018 -- Fixed annotations with empty queryset. 2021-09-29 20:53:16 +02:00
constants.py Fixed #31426 -- Added proper field validation to QuerySet.order_by(). 2020-04-06 10:19:49 +02:00
datastructures.py Fixed #32951 -- Removed Query.where_class & co. 2021-07-22 08:49:20 +02:00
query.py [4.0.x] Fixed #33018 -- Fixed annotations with empty queryset. 2021-09-29 20:53:16 +02:00
subqueries.py Refs #32946 -- Changed Query.add_filter() to take two arguments. 2021-07-28 09:38:42 +02:00
where.py [4.0.x] Fixed #33159 -- Reverted "Fixed #32970 -- Changed WhereNode.clone() to create a shallow copy of children." 2021-09-30 11:26:53 +02:00