summaryrefslogtreecommitdiff
path: root/django/db/models/lookups.py
AgeCommit message (Expand)Author
2026-03-09Refactored PatternLookup to improve readability.Tim Graham
2026-03-08Added DatabaseFeatures.pattern_lookup_needs_param_pattern.Tim Graham
2025-12-22Fixed #36787 -- Fixed crash in In lookups with mixed expressions and strings.JaeHyuck Sa
2025-12-10Refs #36025 -- Made get_prep_lookup() pass output_field when wrapping direct ...Clifford Gama
2025-10-29Refs #35972 -- Returned params in a tuple in further lookups.Jacob Walls
2025-08-04Fixed #35972 -- Fixed lookup crashes after subquery annotations.Jacob Walls
2025-02-11Fixed #36149 -- Allowed subquery values against tuple exact and in lookups.Simon Charette
2025-02-06Refs #34975 -- Removed unnecessary lookups.In.get_refs().Simon Charette
2025-02-06Fixed #36025 -- Fixed re-aliasing of iterable (in/range) lookups rhs.Simon Charette
2025-01-15Refs #34547 -- Removed DatabaseOperations.field_cast_sql() per deprecation ti...Sarah Boyce
2025-01-07Fixed #36042 -- Raised ValueError when using CompositePrimaryKey as rhs.Jacob Walls
2024-09-11Fixed #35752 -- Fixed crash when using In() lookup in filters.Bendeguz Csirmaz
2024-03-13Refs #32673, Refs #35295 -- Avoided wrapping rhs direct values in lookups.Mariusz Felisiak
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2024-01-16Fixed #35111 -- Fixed compilation of DateField __in/__range rhs on SQLite and...Simon Charette
2023-11-18Refs #34975 -- Complemented rhs filtering aggregations for __in lookup.Simon Charette
2023-09-22Fixed #34840 -- Avoided casting string base fields on PostgreSQL.Mariusz Felisiak
2023-08-31Fixed #34547 -- Deprecated DatabaseOperations.field_cast_sql().David Smith
2023-08-04Fixed #34754 -- Fixed JSONField check constraints validation on NULL values.Simon Charette
2023-05-12Fixed #470 -- Added support for database defaults on fields.Ian Foote
2023-03-09Fixed #27397 -- Prevented integer overflows on integer field lookups.Simon Charette
2022-12-15Fixed #33308 -- Added support for psycopg version 3.Daniele Varrazzo
2022-11-15Refs #33308 -- Stopped inheriting from FieldGetDbPrepValueMixin by PostgresOp...Simon Charette
2022-10-06Refs #30158 -- Removed alias argument for Expression.get_group_by_cols().Simon Charette
2022-05-19Fixed #33705 -- Fixed crash when using IsNull() lookup in filters.David Wobrock
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-02-03Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak
2021-12-02Refs #32690 -- Altered lookups Query rhs alterations during initialization.Simon Charette
2021-07-09Fixed #27021 -- Allowed lookup expressions in annotations, aggregations, and ...Ian Foote
2021-06-30Fixed #32786 -- Moved subquery ordering clearing optimization to the _in lookup.Hannes Ljungberg
2021-05-24Refs #24121 -- Added __repr__() to Lookup.saeedblanchette
2021-05-05Fixed #32690 -- Fixed __in lookup crash when combining with filtered aggregates.Simon Charette
2021-04-23Refs #32673 -- Fixed lookups crash when comparing against lookups on Oracle.Mariusz Felisiak
2021-04-23Fixed #32673 -- Fixed lookups crash when comparing against lookups on Postgre...Simon Charette
2021-03-23Fixed #32573 -- Fixed bounds in __iso_year lookup optimization.Florian Demmer
2021-01-14Refs #30841 -- Made isnull lookup raise ValueError for non-boolean values.Mariusz Felisiak
2020-10-28Refs #27149 -- Fixed sql.Query identity.Simon Charette
2020-10-14Refs #32096 -- Fixed __in lookup crash against key transforms for JSONField.Mariusz Felisiak
2020-07-30Bumped minimum isort version to 5.1.0.David Smith
2020-07-15Fixed #30446 -- Resolved Value.output_field for stdlib types.Simon Charette
2020-06-11Fixed #31667 -- Made __in lookup ignore None values.Adam Johnson
2020-04-01Refs #12990 -- Moved PostgresSimpleLookup to the django.db.models.lookups.Pos...Mariusz Felisiak
2019-11-21Refs #25367 -- Moved conditional expression wrapping to the Exact lookup.Simon Charette
2019-10-21Fixed #30841 -- Deprecated using non-boolean values for isnull lookup.André Ericson
2019-09-23Fixed #29915 -- Added support for values with hyphens to pattern lookups for ...Ian Foote
2019-09-20Fixed #30771 -- Fixed exact lookup against queries with selected columns.James Timmins
2019-08-29Refs #25367 -- Simplified OrderBy and Lookup by using Case() instead of RawSQ...Mariusz Felisiak
2019-08-13Refs #25367 -- Moved Oracle Exists() handling to contextual methods.Simon Charette
2019-06-25Fixed #30477 -- Made reverse lookup use Field.get_db_prep_value() from the ta...can
2019-05-21Refs #29396, #30494 -- Reduced code duplication in year lookups.Simon Charette