summaryrefslogtreecommitdiff
path: root/django/db/models/sql/query.py
Commit message (Expand)AuthorAgeFilesLines
* Fixed #34570 -- Silenced noop deferral of many-to-many and GFK.Simon Charette2023-05-171-1/+9
* Refs #33766 -- Removed sql.Query.build_filtered_relation_q().Simon Charette2023-04-241-29/+8
* Fixed #33766 -- Resolved FilteredRelation.condition at referencing time.Simon Charette2023-04-241-32/+38
* Fixed #34464 -- Fixed queryset aggregation over group by reference.Simon Charette2023-04-071-0/+3
* Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.Simon Charette2023-04-051-1/+2
* Fixed #34450 -- Fixed multi-valued JOIN reuse when filtering by expressions.Simon Charette2023-04-041-1/+1
* Refs #29799 -- Added field instance lookups to suggestions in FieldErrors.Mariusz Felisiak2023-03-281-1/+1
* Fixed #34437 -- Made values() resolving error mention selected annotations.Simon Charette2023-03-251-5/+10
* Fixed #28553 -- Fixed annotation mismatch with QuerySet.values()/values_list(...David Wobrock2023-03-241-6/+11
* Fixed some typos in comments, docstrings, and tests.Liyang Zhang2023-03-201-1/+1
* Refs #34233 -- Used str.removeprefix()/removesuffix().Mariusz Felisiak2023-01-181-2/+1
* Fixed #34176 -- Fixed grouping by ambiguous aliases.Simon Charette2023-01-091-30/+15
* Refs #33308 -- Deprecated support for passing encoded JSON string literals to...Simon Charette2022-12-011-3/+3
* Fixed #31679 -- Delayed annotating aggregations.Simon Charette2022-11-231-41/+34
* Refs #25307 -- Replaced SQLQuery.rewrite_cols() by replace_expressions().Simon Charette2022-11-141-62/+25
* Reduced nesting inside Query.get_aggregation().Simon Charette2022-11-141-7/+6
* Refs #28477 -- Fixed handling aliased annotations on aggregation.Simon Charette2022-11-141-1/+1
* Refs #28477 -- Reduced complexity of aggregation over qualify queries.Simon Charette2022-11-111-14/+20
* Fixed #28477 -- Stripped unused annotations on aggregation.Simon Charette2022-11-091-20/+51
* Used more augmented assignment statements.Nick Pope2022-10-311-1/+1
* Refs #30158 -- Removed alias argument for Expression.get_group_by_cols().Simon Charette2022-10-061-8/+11
* Refs #33992 -- Refactored subquery grouping logic.Simon Charette2022-10-061-8/+9
* Refs #33308 -- Enabled explicit GROUP BY and ORDER BY aliases.Simon Charette2022-10-061-2/+15
* Fixed #34012 -- Made QuerySet.order_by() apply transforms on related fields f...David Sanders2022-10-041-0/+1
* Fixed #34015 -- Allowed filtering by transforms on relation fields.Mariusz Felisiak2022-09-221-10/+0
* Fixed #33975 -- Fixed __in lookup when rhs is a queryset with annotate() and ...DevilsAutumn2022-09-091-6/+2
* Fixed #21204 -- Tracked field deferrals by field instead of models.Simon Charette2022-08-301-90/+63
* Used AND, OR, XOR constants instead of hard-coded values.Nick Pope2022-07-271-3/+3
* Fixed #33816 -- Fixed QuerySet.only() after select_related() crash on proxy m...Ipakeev2022-07-041-0/+1
* Refs #32786 -- Made query clear ordering when ordered combined queryset is us...Mariusz Felisiak2022-06-271-0/+2
* Fixed typo in Query.clone()'s docstring.非法操作2022-05-131-1/+1
* Fixed #33655 -- Removed unnecessary constant from GROUP BY clause for QuerySe...marcperrinoptel2022-04-261-2/+2
* Fixed #24296 -- Made QuerySet.exists() clear selected columns for not sliced ...mgaligniana2022-04-121-1/+1
* Fixed CVE-2022-28347 -- Protected QuerySet.explain(**options) against SQL inj...Mariusz Felisiak2022-04-111-0/+10
* Fixed CVE-2022-28346 -- Protected QuerySet.annotate(), aggregate(), and extra...Mariusz Felisiak2022-04-111-0/+14
* Removed unnecessary Query.get_loaded_field_names_cb() and Query.deferred_to_d...Mariusz Felisiak2022-03-311-12/+5
* Refs #24020 -- Removed redundant Query.get_loaded_field_names().Mariusz Felisiak2022-03-311-19/+0
* Fixed #33598 -- Reverted "Removed unnecessary reuse_with_filtered_relation ar...Mariusz Felisiak2022-03-301-9/+38
* Refs #30581 -- Allowed sql.Query to be used without model.Gagaro2022-03-161-3/+10
* Refs #27624 -- Optimized Query.clone() a bit.Keryn Knight2022-03-031-5/+2
* Refs #27624 -- Optimized sql.Query creation by moving immutable/singleton att...Keryn Knight2022-03-031-60/+63
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-1/+2
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-228/+388
* Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak2022-02-031-4/+4
* Fixed #29338 -- Allowed using combined queryset in Subquery.Mariusz Felisiak2022-01-171-0/+6
* Fixed #33319 -- Fixed crash when combining with the | operator querysets with...Ömer Faruk Abacı2021-12-081-8/+17
* Refs #33319 -- Added comment about keys/values assertion in Query.change_alia...Ömer Faruk Abacı2021-12-081-0/+3
* Refs #25265 -- Allowed customizing Query's datastructure classes.Erik Cederstrand2021-12-071-7/+14
* Fixed #33282 -- Fixed a crash when OR'ing subquery and aggregation lookups.Simon Charette2021-12-021-0/+8
* Refs #24121 -- Added __repr__() to BaseDatabaseWrapper, JoinPromoter, and SQL...Jonny Park2021-11-191-0/+6