summaryrefslogtreecommitdiff
path: root/django/db/models/expressions.py
AgeCommit message (Expand)Author
2026-04-03Fixed #37016 -- Avoided propagating invalid arguments from When() to Q().varunkasyap
2026-03-19Fixed #36795 -- Enforced quoting of all database object names.Simon Charette
2026-03-12Fixed #36727 -- Deprecated Field.get_placeholder in favor of get_placeholder_...Simon Charette
2026-03-12Encapsulated loop logic to avoid leaking module-level variables.Emmanuel Ferdman
2026-03-02Refs #35381 -- Moved JSONNull to django.db.models.expressions.Clifford Gama
2026-02-27Refs #35972 -- Returned params in a tuple in further expressions.Jacob Walls
2026-02-10Fixed #36903 -- Fixed further NameErrors when inspecting functions with defer...93578237
2026-01-20Fixed #36030 -- Fixed precision loss in division of Decimal literals on SQLite.VIZZARD-X
2025-11-24Fixed #36751 -- Fixed empty filtered aggregation crash over annotated queryset.Simon Charette
2025-08-11Refs #36210 -- Corrected output_field comparison in Subquery.resolve_expressi...Jacob Walls
2025-08-07Fixed #36210, Refs #36181 -- Allowed Subquery usage in further lookups agains...Jacob Walls
2025-08-04Fixed #35972 -- Fixed lookup crashes after subquery annotations.Jacob Walls
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-06-16Fixed #36453 -- Made When.condition resolve with for_save=False.Clifford Gama
2025-06-06Fixed #36419 -- Ensured for_save was propagated when resolving expressions.Clifford Gama
2025-06-05Fixed #36407 -- Ensured default value is cast in Case expressions used in ORD...ontowhee
2025-03-31Refs #28909 -- Simplified code using unpacking generalizations.Aarni Koskela
2025-03-03Fixed #35444 -- Added generic support for Aggregate.order_by.Chris Muthig
2025-03-01Fixed #36198 -- Implemented unresolved transform expression replacement.Simon Charette
2025-02-15Fixed #36173 -- Stabilized identity of Concat with an explicit output_field.Simon Charette
2025-02-11Fixed #36149 -- Allowed subquery values against tuple exact and in lookups.Simon Charette
2025-01-30Fixed #35235 -- Removed caching of BaseExpression._output_field_or_none.sharonwoo
2025-01-22Fixed #36117 -- Raised ValueError when providing composite expressions to cas...Simon Charette
2025-01-22Refs #36042 -- Consolidated composite expression checks in BaseExpression.Simon Charette
2025-01-08Fixed #36065 -- Fixed ordering by expression referencing composite primary key.Simon Charette
2025-01-07Refs #36042 -- Raised ValueError when providing composite expressions to aggr...Jacob Walls
2025-01-07Fixed #36042 -- Raised ValueError when using CompositePrimaryKey as rhs.Jacob Walls
2024-09-17Refs #373, Refs #24121 -- Added ColPairs.__repr__().Bendeguz Csirmaz
2024-09-11Refs #373 -- Refactored variable assignments in ColPairs and tuple lookups.Bendeguz Csirmaz
2024-08-13Fixed #35665 -- Fixed a crash when passing an empty order_by to Window.Simon Charette
2024-08-12Fixed #35586 -- Added support for set-returning database functions.Devin Cox
2024-08-05Fixed #35638 -- Updated validate_constraints to consider db_default.David Sanders
2024-08-01Refs #373 -- Added tuple lookups.Bendeguz Csirmaz
2024-07-18Fixed #35603 -- Prevented F.__contains__() from hanging.Simon Charette
2024-07-11Optimized Case.as_sql() default compilation.Tim Graham
2024-05-14Fixed #35275 -- Fixed Meta.constraints validation crash on UniqueConstraint w...Mariusz Felisiak
2024-03-21Fixed #35257 -- Corrected resolving output_field for IntegerField/DecimalFiel...sharonwoo
2024-03-07Fixed typo in django/db/models/expressions.py.Mariusz Felisiak
2024-02-26Fixed #35241 -- Cached model's full parent list.Adam Johnson
2024-02-20Fixed #35236 -- Used Field.attname/column attributes instead of get_attname()...Adam Johnson
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2024-01-15Refs #35102 -- Optimized replace_expressions()/relabelling aliases by adding ...Mariusz Felisiak
2024-01-15Refs #35102 -- Optimized Expression.identity used for equality and hashing.Simon Charette
2023-12-30Fixed #29049 -- Added slicing notation to F expressions.Nick Pope
2023-12-29Fixed #35064 -- Fixed Window(order_by) crash with DecimalFields on SQLite.Simon Charette
2023-12-12Fixed #35018 -- Fixed migrations crash on GeneratedField with BooleanField as...Mariusz Felisiak
2023-11-23Fixed #34987 -- Fixed queryset crash when mixing aggregate and window annotat...Simon Charette
2023-11-18Refs #34975 -- Handled optional source expressions in Expression.get_refs().Simon Charette
2023-11-14Reverted "Refs #30446, Refs #34944 -- Fixed crash when adding GeneratedField ...Mariusz Felisiak
2023-11-08Refs #30446, Refs #34944 -- Fixed crash when adding GeneratedField with strin...Simon Charette