summaryrefslogtreecommitdiff
path: root/django/db/models/sql
AgeCommit message (Expand)Author
2024-08-06[5.1.x] Fixed CVE-2024-42005 -- Mitigated QuerySet.values() SQL injection att...Simon Charette
2024-08-02[5.1.x] Fixed #35643 -- Fixed a crash when ordering a QuerySet by a reference...Simon Charette
2024-04-23Refs #35356 -- Clarified select related with masked field logic.Simon Charette
2024-04-23Fixed #35356 -- Deferred self-referential foreign key fields adequately.Simon Charette
2024-03-15Fixed #35294 -- Fixed TEXT format of QuerySet.explain() for long plans.Adam Johnson
2024-02-26Fixed #35241 -- Cached model's full parent list.Adam Johnson
2024-02-07Fixed #35099 -- Prevented mutating queryset when combining with & and | opera...Hisham Mahmood
2024-01-29Fixed #35135 -- Made FilteredRelation raise ValueError on querysets as rhs.Nicolas Delaby
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2024-01-15Refs #35102 -- Optimized replace_expressions()/relabelling aliases by adding ...Mariusz Felisiak
2023-12-23Fixed #35050 -- Fixed prefixing field names in FilteredRelation().David Wobrock
2023-12-16Fixed #35042 -- Fixed a count() crash on combined queries.Simon Charette
2023-12-12Fixed #34013 -- Added QuerySet.order_by() support for annotation transforms.Simon Charette
2023-12-07Fixed #35024 -- Fixed model instance creation crash on GeneratedField.output_...Mariusz Felisiak
2023-11-18Refs #34717 -- Avoided computing aggregate refs twice.Simon Charette
2023-11-18Refs #34975 -- Complemented rhs filtering aggregations for __in lookup.Simon Charette
2023-11-18Fixed #34975 -- Fixed crash of conditional aggregate() over aggregations.Simon Charette
2023-11-13Fixed #34967 -- Fixed queryset crash when grouping by constants on SQLite < 3...David Sanders
2023-10-16Fixed #34798 -- Fixed QuerySet.aggregate() crash when referencing expressions...Simon Charette
2023-09-07Fixed #31300 -- Added GeneratedField model field.Jeremy Nauta
2023-08-11Fixed #34362 -- Fixed FilteredRelation() crash on conditional expressions.Francesco Panico
2023-08-11Fixed #34743 -- Fixed Meta.constraints validation crash when using pk.Francesco Panico
2023-08-02Removed unneeded escapes in regexes.Mariusz Felisiak
2023-08-01Fixed #34750 -- Fixed QuerySet.count() when grouping by unused multi-valued a...Mariusz Felisiak
2023-07-21Refs #34362 -- Added get_child_with_renamed_prefix() hook.Francesco Panico
2023-07-19Fixed #34717 -- Fixed QuerySet.aggregate() crash when referencing window func...Simon Charette
2023-06-14Refs #32143 -- Removed superflous constraints on excluded query.Simon Charette
2023-06-14Refs #32143 -- Adjusted a comment about subquery usage in Query.split_exclude().Simon Charette
2023-06-08Fixed #34604 -- Corrected fallback SQL for n-ary logical XOR.Anders Kaseorg
2023-06-01Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships.Simon Charette
2023-05-23Fixed #34551 -- Fixed QuerySet.aggregate() crash when referencing subqueries.Simon Charette
2023-05-23Refs #34551 -- Fixed QuerySet.aggregate() crash on precending aggregation ref...Simon Charette
2023-05-22Fixed #34580 -- Avoided unnecessary computation of selected expressions in SQ...Simon Charette
2023-05-17Fixed #34570 -- Silenced noop deferral of many-to-many and GFK.Simon Charette
2023-05-01Fixed #33759 -- Avoided unnecessary subquery in QuerySet.delete() with self-r...4the4ryushin
2023-04-24Refs #33766 -- Removed sql.Query.build_filtered_relation_q().Simon Charette
2023-04-24Refs #33766 -- Removed unused Join.equals().Simon Charette
2023-04-24Fixed #33766 -- Resolved FilteredRelation.condition at referencing time.Simon Charette
2023-04-18Refs #16055 -- Deprecated get_joining_columns()/get_reverse_joining_columns()...David Wobrock
2023-04-18Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation ...David Wobrock
2023-04-07Fixed #34464 -- Fixed queryset aggregation over group by reference.Simon Charette
2023-04-05Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.Simon Charette
2023-04-04Fixed #34450 -- Fixed multi-valued JOIN reuse when filtering by expressions.Simon Charette
2023-03-28Refs #29799 -- Added field instance lookups to suggestions in FieldErrors.Mariusz Felisiak
2023-03-25Fixed #34437 -- Made values() resolving error mention selected annotations.Simon Charette
2023-03-24Fixed #28553 -- Fixed annotation mismatch with QuerySet.values()/values_list(...David Wobrock
2023-03-20Fixed some typos in comments, docstrings, and tests.Liyang Zhang
2023-02-27Fixed #34368 -- Made subquery raise NotSupportedError when referencing outer ...Simon Charette
2023-02-27Fixed #34372 -- Fixed queryset crash on order by aggregation using OrderBy.Simon Charette
2023-02-20Fixed #34346 -- Ordered selected expressions by position.Simon Charette