summaryrefslogtreecommitdiff
path: root/django/db/models/query.py
AgeCommit message (Expand)Author
2026-04-19Refs #28586 -- Added DEFAULT_FETCH_MODE module constant.Jacob Walls
2026-04-03Fixed #37016 -- Avoided propagating invalid arguments from When() to Q().varunkasyap
2026-03-11Refs #28455 -- Avoided QuerySet cloning in simple prefetch_related() usages.Keryn Knight
2026-03-11Refs #28455 -- Implemented private API methods for preventing QuerySet cloning.Keryn Knight
2026-02-13Fixed #36857 -- Added QuerySet.totally_ordered property.VIZZARD-X
2026-02-06Fixed #36644 -- Enabled empty order_by() to avoid pk ordering by first()/last().Nilesh Kumar Pahari
2026-02-06Refs #36644 -- Applied default ordering after union().Nilesh Kumar Pahari
2026-01-13Fixed #35442 -- Prevented N+1 queries in RelatedManager with only().Samriddha9619
2025-11-06Fixed #36702 -- Made bulk_create() return pk values set by an expression.us77ipis
2025-11-05Refs CVE-2025-64459 -- Avoided propagating invalid arguments to Q on dictiona...Jacob Walls
2025-10-25Fixed #36683 -- Added error message on QuerySet.update() following distinct(*...Matthew Shirley
2025-10-16Refs #28586 - Copied fetch mode in QuerySet.create().Adam Johnson
2025-10-16Refs #28586 -- Copied fetch modes to related objects.Adam Johnson
2025-10-16Fixed #28586 -- Added model field fetch modes.Adam Johnson
2025-10-14Fixed #36648, Refs #33772 -- Accounted for composite pks in first()/last() wh...Jacob Walls
2025-09-30Fixed #36614 -- Deprecated QuerySet.values_list(flat=True) without a field.Adam Johnson
2025-09-25Refs #36605 -- Optimized QuerySet.in_bulk() for the empty id_list case.Adam Johnson
2025-09-25Fixed #36605 -- Added support for QuerySet.in_bulk() after .values() or .valu...John Parton
2025-09-22Fixed #35453 -- Made ManyToManyField.concrete False.Ryan P Kilby
2025-09-16Fixed #36606 -- Optimized QuerySet.values_list(flat=True) without fields.Adam Johnson
2025-09-16Fixed #36426 -- Added support for further iterables in prefetch_related_objec...blingblin-g
2025-09-14Refs #27222 -- Refreshed GeneratedFields values on save() initiated update.Simon Charette
2025-08-29Refs #36152 -- Suppressed duplicate warning when using "%" in alias via value...Jacob Walls
2025-08-21Refs #36430, #36416, #34378 -- Simplified batch size calculation in QuerySet....Jacob Walls
2025-08-15Refs #36490 -- Simplified QuerySet._batched_insert returning fields handling.Simon Charette
2025-08-15Fixed #36490 -- Avoided unnecessary transaction in bulk_create.Simon Charette
2025-07-23Refs #36500 -- Corrected rewrapped long lines fixed via a script.Mike Edmunds
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-07-23Removed double spaces after periods and within phrases.Sarah Boyce
2025-06-03Fixed #36416 -- Made QuerySet.in_bulk() account for composite pks in id_list.Jacob Walls
2025-06-03Fixed #36060 -- Prevented IntegrityError in bulk_create() with order_with_res...myoungjinGo-BE
2025-05-19Fixed #36388 -- Made QuerySet.union() return self when called with no arguments.Colleen Dunlap
2025-05-12Fixed #36373 -- Fixed select_related() crash on foreign object for a composit...Simon Charette
2025-04-30Fixed #36360 -- Fixed QuerySet.update() crash when referring annotations thro...Simon Charette
2025-04-26Refs #36326 -- Fixed QuerySet.raw() crash on models with CompositePrimaryKey ...Mariusz Felisiak
2025-04-17Fixed #36326 -- Added CompositePrimaryKey support in QuerySet.raw().SaJH
2025-04-11Fixed #36288 -- Addressed improper handling of duplicates in values_list().Simon Charette
2025-03-31Refs #28909 -- Simplified code using unpacking generalizations.Aarni Koskela
2025-03-26Refs #36260 -- Moved _is_pk_set checks into _prepare_for_bulk_create().Simon Charette
2025-03-26Fixed #36260 -- Made bulk_create() work with DB-generated primary keys.Dmitry Shachnev
2025-02-11Fixed #36149 -- Allowed subquery values against tuple exact and in lookups.Simon Charette
2025-02-01Fixed #36088 -- Avoided unnecessary DEFAULT usage on bulk_create().Simon Charette
2025-01-30Fixed #36155 -- Improved error handling when annotate arguments require an al...Vinko Mlačić
2025-01-29Fixed #36118 -- Accounted for multiple primary keys in bulk_update max_batch_...Sarah Boyce
2025-01-15Refs #33651 -- Removed Prefetch.get_current_queryset() and get_prefetch_query...Sarah Boyce
2025-01-14Refs #36075 -- Adjusted pk_fields usage in bulk_update eligibility checks.Simon Charette
2025-01-13Refs #36075 -- Used field in pk_fields over field.primary_key.Sarah Boyce
2025-01-10Fixed #36068 -- Raised ValueError when providing a composite PK field to bulk...Jacob Walls
2025-01-03Fixed #35918 -- Added support for execute_sql to directly return row counts.Raphael Gaschignard
2025-01-02Fixed typo in django/db/models/query.py docstring.Jacob Walls