index
:
django.git
fix-31295
main
stable/5.2.x
stable/6.0.x
django
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
django
/
db
/
models
/
sql
/
query.py
Age
Commit message (
Expand
)
Author
2026-02-03
[5.2.x] Fixed CVE-2026-1287 -- Protected against SQL injection in column alia...
Jake Howard
2025-10-01
[5.2.x] Fixed CVE-2025-59681 -- Protected QuerySet.annotate(), alias(), aggre...
Mariusz Felisiak
2025-09-03
[5.2.x] Fixed CVE-2025-57833 -- Protected FilteredRelation against SQL inject...
Jake Howard
2025-08-29
[5.2.x] Fixed #36431 -- Returned tuples for multi-column ForeignObject in val...
SaJH
2025-05-16
[5.2.x] Fixed #36392 -- Raised ValueError when subquery referencing composite...
Jacob Walls
2025-04-05
[5.2.x] Fixed #36299 -- Prevented field selection on QuerySet.alias() after v...
Simon Charette
2025-04-03
[5.2.x] Fixed #36292 -- Fixed crash when aggregating over a group mixing tran...
Simon Charette
2025-02-11
[5.2.x] Fixed #36149 -- Allowed subquery values against tuple exact and in lo...
Simon Charette
2025-02-06
[5.2.x] Fixed #35677 -- Avoided non-sticky filtering of prefetched many-to-many.
Simon Charette
2025-01-27
[5.2.x] Fixed #36109 -- Fixed RecursionError when stacking FilteredRelation j...
Peter DeVita
2025-01-03
Fixed #36029 -- Handled implicit exact lookups in condition depth checks for ...
Jacob Walls
2024-11-29
Fixed #373 -- Added CompositePrimaryKey.
Bendeguz Csirmaz
2024-10-14
Fixed #35744 -- Relabelled external aliases of combined queries.
Simon Charette
2024-08-12
Fixed #35586 -- Added support for set-returning database functions.
Devin Cox
2024-08-06
Fixed CVE-2024-42005 -- Mitigated QuerySet.values() SQL injection attacks aga...
Simon Charette
2024-08-01
Refs #373 -- Added tuple lookups.
Bendeguz Csirmaz
2024-07-23
Fixed #35585 -- Corrected Query.exists() call in Query.has_results().
Flavio Curella
2024-07-09
Fixed #35413 -- Made unsupported lookup error message more specific.
wookkl
2024-07-03
Refs #28900 -- Made Query.has_select_fields a computed property.
Simon Charette
2024-07-03
Refs #28900 -- Made SELECT respect the order specified by values(*selected).
Simon Charette
2024-06-25
Used Query.add_annotation where appropriate.
Simon Charette
2024-04-23
Refs #35356 -- Clarified select related with masked field logic.
Simon Charette
2024-04-23
Fixed #35356 -- Deferred self-referential foreign key fields adequately.
Simon Charette
2024-02-07
Fixed #35099 -- Prevented mutating queryset when combining with & and | opera...
Hisham Mahmood
2024-01-29
Fixed #35135 -- Made FilteredRelation raise ValueError on querysets as rhs.
Nicolas Delaby
2024-01-26
Applied Black's 2024 stable style.
Mariusz Felisiak
2024-01-15
Refs #35102 -- Optimized replace_expressions()/relabelling aliases by adding ...
Mariusz Felisiak
2023-12-23
Fixed #35050 -- Fixed prefixing field names in FilteredRelation().
David Wobrock
2023-12-16
Fixed #35042 -- Fixed a count() crash on combined queries.
Simon Charette
2023-11-18
Refs #34717 -- Avoided computing aggregate refs twice.
Simon Charette
2023-11-18
Refs #34975 -- Complemented rhs filtering aggregations for __in lookup.
Simon Charette
2023-11-18
Fixed #34975 -- Fixed crash of conditional aggregate() over aggregations.
Simon Charette
2023-10-16
Fixed #34798 -- Fixed QuerySet.aggregate() crash when referencing expressions...
Simon Charette
2023-08-11
Fixed #34362 -- Fixed FilteredRelation() crash on conditional expressions.
Francesco Panico
2023-08-11
Fixed #34743 -- Fixed Meta.constraints validation crash when using pk.
Francesco Panico
2023-08-02
Removed unneeded escapes in regexes.
Mariusz Felisiak
2023-08-01
Fixed #34750 -- Fixed QuerySet.count() when grouping by unused multi-valued a...
Mariusz Felisiak
2023-07-21
Refs #34362 -- Added get_child_with_renamed_prefix() hook.
Francesco Panico
2023-07-19
Fixed #34717 -- Fixed QuerySet.aggregate() crash when referencing window func...
Simon Charette
2023-06-14
Refs #32143 -- Removed superflous constraints on excluded query.
Simon Charette
2023-06-14
Refs #32143 -- Adjusted a comment about subquery usage in Query.split_exclude().
Simon Charette
2023-06-01
Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships.
Simon Charette
2023-05-23
Fixed #34551 -- Fixed QuerySet.aggregate() crash when referencing subqueries.
Simon Charette
2023-05-23
Refs #34551 -- Fixed QuerySet.aggregate() crash on precending aggregation ref...
Simon Charette
2023-05-17
Fixed #34570 -- Silenced noop deferral of many-to-many and GFK.
Simon Charette
2023-04-24
Refs #33766 -- Removed sql.Query.build_filtered_relation_q().
Simon Charette
2023-04-24
Fixed #33766 -- Resolved FilteredRelation.condition at referencing time.
Simon Charette
2023-04-07
Fixed #34464 -- Fixed queryset aggregation over group by reference.
Simon Charette
2023-04-05
Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.
Simon Charette
2023-04-04
Fixed #34450 -- Fixed multi-valued JOIN reuse when filtering by expressions.
Simon Charette
[next]