django1/django/db/models
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
..
fields [4.0.x] Fixed #33033 -- Prevented models.DecimalField from accepting NaN values. 2021-09-28 13:57:45 +02:00
functions [4.0.x] Fixed #33141 -- Renamed Expression.empty_aggregate_value to empty_result_set_value. 2021-09-29 20:52:59 +02:00
sql [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
__init__.py Fixed #12990, Refs #27694 -- Added JSONField model field. 2020-05-08 07:23:31 +02:00
aggregates.py [4.0.x] Fixed #33141 -- Renamed Expression.empty_aggregate_value to empty_result_set_value. 2021-09-29 20:52:59 +02:00
base.py Refs #32946 -- Changed internal usage of dynamic Q() objects construction to use non-kwargs initialization. 2021-07-28 09:38:46 +02:00
constants.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
constraints.py Refs #32074 -- Used Enum.repr() format proposed for Python 3.10. 2021-07-12 11:46:37 +02:00
deletion.py Refs #32946 -- Changed internal usage of dynamic Q() objects construction to use non-kwargs initialization. 2021-07-28 09:38:46 +02:00
enums.py Refs #32074 -- Used Enum.repr() format proposed for Python 3.10. 2021-07-12 11:46:37 +02:00
expressions.py [4.0.x] Fixed #33018 -- Fixed annotations with empty queryset. 2021-09-29 20:53:16 +02:00
indexes.py Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.db.models. 2021-07-15 11:43:33 +02:00
lookups.py Fixed #27021 -- Allowed lookup expressions in annotations, aggregations, and QuerySet.filter(). 2021-07-09 11:43:06 +02:00
manager.py Used model's Options.label where applicable. 2020-12-29 08:56:39 +01:00
options.py Fixed #31007 -- Allowed specifying type of auto-created primary keys. 2020-12-15 11:25:46 +01:00
query.py Fixed #32365 -- Made zoneinfo the default timezone implementation. 2021-09-16 12:11:05 +02:00
query_utils.py Fixed #32632, Fixed #32657 -- Removed flawed support for Subquery deconstruction. 2021-04-28 12:13:55 +02:00
signals.py Fixed #31327 -- Deprecated providing_args argument for Signal. 2020-03-05 09:38:52 +01:00
utils.py Fixed #32812 -- Restored immutability of named values from QuerySet.values_list(). 2021-06-04 07:23:16 +02:00