django1/django/db/models
Nick Pope 9dff316be4 Refs #32948, Refs #32946 -- Used Q.create() internally for dynamic Q() objects.
Node.create() which has a compatible signature with Node.__init__()
takes in a single `children` argument rather than relying in unpacking
*args in Q.__init__() which calls Node.__init__().

In addition, we were often needing to unpack iterables into *args and
can instead pass a list direct to Node.create().
2022-07-27 10:06:24 +02:00
..
fields Refs #32948, Refs #32946 -- Used Q.create() internally for dynamic Q() objects. 2022-07-27 10:06:24 +02:00
functions Refs CVE-2022-34265 -- Properly escaped Extract() and Trunc() parameters. 2022-07-06 07:40:07 +02:00
sql Refs #32948 -- Added Node.__copy__(). 2022-07-27 10:06:24 +02:00
__init__.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
aggregates.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
base.py Refs #32948, Refs #32946 -- Used Q.create() internally for dynamic Q() objects. 2022-07-27 10:06:24 +02:00
constants.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
constraints.py Fixed #33829 -- Made BaseConstraint.deconstruct() and equality handle violation_error_message. 2022-07-08 08:17:42 +02:00
deletion.py Refs #32948, Refs #32946 -- Used Q.create() internally for dynamic Q() objects. 2022-07-27 10:06:24 +02:00
enums.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
expressions.py Fixed #33543 -- Deprecated passing nulls_first/nulls_last=False to OrderBy and Expression.asc()/desc(). 2022-05-12 11:30:03 +02:00
indexes.py Removed unnecessary variable in Index.create_sql(). 2022-04-22 19:07:56 +02:00
lookups.py Fixed #33705 -- Fixed crash when using IsNull() lookup in filters. 2022-05-19 07:02:22 +02:00
manager.py Fixed #33733 -- Preserved wrapper assignment for manager methods. 2022-06-01 10:44:34 +02:00
options.py Refs #27236 -- Made cosmetic edits to Meta.index_together deprecation. 2022-07-21 07:05:50 +02:00
query.py Fixed #33799, Refs #31685 -- Added parameters for updating conflicts to QuerySeta.abulk_create(). 2022-06-23 11:12:35 +02:00
query_utils.py Refs #32948 -- Simplified and optimized Q._combine() and __invert__(). 2022-07-27 10:06:24 +02:00
signals.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
utils.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00