summaryrefslogtreecommitdiff
path: root/django/db/models/sql/compiler.py
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2025-02-07 16:34:17 -0500
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2025-02-15 16:24:00 +0100
commit8b1e324ca4aa1ae0721f6f5dcfba8325a751ef3c (patch)
tree66d8f6a003e209d4159efd1b7e7d119372faf583 /django/db/models/sql/compiler.py
parente62301091de8c6da45ab4a9d09080ba88229d2d0 (diff)
[5.2.x] Fixed #36173 -- Stabilized identity of Concat with an explicit output_field.
When Expression.__init__() overrides make use of *args, **kwargs captures their argument values are respectively bound as a tuple and dict instances. These composite values might themselves contain values that require special identity treatments such as Concat(output_field) as it's a Field instance. Refs #30628 which introduced bound Field differentiation but lacked argument captures handling. Thanks erchenstein for the report. Backport of df2c4952df6d93c575fb8a3c853dc9d4c2449f36 from main
Diffstat (limited to 'django/db/models/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions