django/tests/db_functions
Simon Charette 8b1e324ca4 [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 df2c4952df from main
2025-02-15 16:24:00 +01:00
..
comparison Added DatabaseFeatures.rounds_to_even. 2024-12-18 08:50:48 -03:00
datetime Fixed #33037 -- Fixed Trunc() with offset timezones on MySQL, SQLite, Oracle. 2024-02-15 10:02:57 +01:00
json Fixed #35718 -- Add JSONArray to django.db.models.functions. 2025-01-06 10:08:32 +01:00
math Added DatabaseFeatures.rounds_to_even. 2024-12-18 08:50:48 -03:00
migrations Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
text [5.2.x] Fixed #36173 -- Stabilized identity of Concat with an explicit output_field. 2025-02-15 16:24:00 +01:00
window Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
__init__.py Fixed #23753 -- Added a suite of SQL Functions 2014-12-27 15:27:27 +11:00
models.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
tests.py Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00