summaryrefslogtreecommitdiff
path: root/django/db/models/sql
AgeCommit message (Expand)Author
2026-02-03[4.2.x] Fixed CVE-2026-1287 -- Protected against SQL injection in column alia...Jake Howard
2025-10-01[4.2.x] Fixed CVE-2025-59681 -- Protected QuerySet.annotate(), alias(), aggre...Mariusz Felisiak
2025-09-03[4.2.x] Fixed CVE-2025-57833 -- Protected FilteredRelation against SQL inject...Jake Howard
2024-07-31[4.2.x] Fixed CVE-2024-42005 -- Mitigated QuerySet.values() SQL injection att...Simon Charette
2023-11-18[4.2.x] Fixed #34975 -- Fixed crash of conditional aggregate() over aggregati...Simon Charette
2023-10-16[4.2.x] Fixed #34798 -- Fixed QuerySet.aggregate() crash when referencing exp...Simon Charette
2023-08-01[4.2.x] Fixed #34750 -- Fixed QuerySet.count() when grouping by unused multi-...Mariusz Felisiak
2023-07-19[4.2.x] Fixed #34717 -- Fixed QuerySet.aggregate() crash when referencing win...Simon Charette
2023-06-01[4.2.x] Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships.Simon Charette
2023-05-23[4.2.x] Fixed #34551 -- Fixed QuerySet.aggregate() crash when referencing sub...Simon Charette
2023-05-23[4.2.x] Refs #34551 -- Fixed QuerySet.aggregate() crash on precending aggrega...Simon Charette
2023-05-22[4.2.x] Fixed #34580 -- Avoided unnecessary computation of selected expressio...Simon Charette
2023-05-17[4.2.x] Fixed #34570 -- Silenced noop deferral of many-to-many and GFK.Simon Charette
2023-04-07[4.2.x] Fixed #34464 -- Fixed queryset aggregation over group by reference.Simon Charette
2023-04-05[4.2.x] Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.Simon Charette
2023-03-28[4.2.x] Refs #29799 -- Added field instance lookups to suggestions in FieldEr...Mariusz Felisiak
2023-02-27[4.2.x] Fixed #34368 -- Made subquery raise NotSupportedError when referencin...Simon Charette
2023-02-27[4.2.x] Fixed #34372 -- Fixed queryset crash on order by aggregation using Or...Simon Charette
2023-02-20[4.2.x] Fixed #34346 -- Ordered selected expressions by position.Simon Charette
2023-01-24[4.2.x] Fixed #34227 -- Fixed QuerySet.select_related() with multi-level Filt...朱穆穆
2023-01-20[4.2.x] Fixed #34267 -- Fixed sliced QuerySet.union() crash.Francesco Panico
2023-01-09Fixed #34176 -- Fixed grouping by ambiguous aliases.Simon Charette
2023-01-04Simplified SQLCompiler.get_group_by() a bit.Simon Charette
2022-12-27Fixed #34226 -- Fixed QuerySet.select_related() with multiple FilteredRelatio...朱穆穆
2022-12-24Refs #34226 -- Renamed local field variables in SQLCompiler.get_related_selec...Mariusz Felisiak
2022-12-01Refs #33308 -- Deprecated support for passing encoded JSON string literals to...Simon Charette
2022-11-23Fixed #31679 -- Delayed annotating aggregations.Simon Charette
2022-11-22Fixed #34171 -- Fixed QuerySet.bulk_create() on fields with db_column in uniq...DevilsAutumn
2022-11-15Fixed #34123 -- Fixed combinator order by alias when using select_related().Simon Charette
2022-11-15Avoided unnecessary usage of RawSQL.Simon Charette
2022-11-14Refs #25307 -- Replaced SQLQuery.rewrite_cols() by replace_expressions().Simon Charette
2022-11-14Reduced nesting inside Query.get_aggregation().Simon Charette
2022-11-14Refs #28477 -- Fixed handling aliased annotations on aggregation.Simon Charette
2022-11-11Refs #28477 -- Reduced complexity of aggregation over qualify queries.Simon Charette
2022-11-09Fixed #28477 -- Stripped unused annotations on aggregation.Simon Charette
2022-11-07Refs #33374 -- Adjusted full match condition handling.Simon Charette
2022-11-07Refs #17144 -- Removed support for grouping by primary key.Simon Charette
2022-11-07Fixed #31331 -- Switched MySQL to group by selected primary keys.Simon Charette
2022-10-31Used more augmented assignment statements.Nick Pope
2022-10-29Fixed #34125 -- Fixed sliced QuerySet.union() crash on a single non-empty que...Simon Charette
2022-10-28Used Query.is_sliced in SQLCompiler.as_sql().Simon Charette
2022-10-18Fixed #34105 -- Fixed crash of ordering by nested selected expression.Simon Charette
2022-10-06Refs #30158 -- Removed alias argument for Expression.get_group_by_cols().Simon Charette
2022-10-06Refs #31150 -- Enabled implicit GROUP BY aliases.Simon Charette
2022-10-06Refs #33992 -- Refactored subquery grouping logic.Simon Charette
2022-10-06Refs #33308 -- Enabled explicit GROUP BY and ORDER BY aliases.Simon Charette
2022-10-05Fixed #33768 -- Fixed ordering compound queries by nulls_first/nulls_last on ...Simon Charette
2022-10-04Avoided unnecessary call to .get_source_expressions().Simon Charette
2022-10-04Fixed #34012 -- Made QuerySet.order_by() apply transforms on related fields f...David Sanders
2022-09-23Fixed #34024 -- Fixed crash when aggregating querysets with Q objects annotat...David Sanders