<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/docs/ref/models/querysets.txt, branch stable/5.2.x</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=stable%2F5.2.x</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=stable%2F5.2.x'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-10-08T21:33:02Z</updated>
<entry>
<title>[5.2.x] Fixed #36526 -- Doc'd QuerySet.bulk_update() memory usage when batching.</title>
<updated>2025-10-08T21:33:02Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2025-08-28T20:19:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=80b9c8f5292dfa38469a1e85314cc45b8374eb22'/>
<id>urn:sha1:80b9c8f5292dfa38469a1e85314cc45b8374eb22</id>
<content type='text'>
Thanks Simon Charette for the review.

Backport of 608d3ebc8889863d43be1090d634b9507fe4a85e from main.
</content>
</entry>
<entry>
<title>[5.2.x] Refs #36143, #28596 -- Avoided mentioning exact query parameter limit in bulk_create() docs.</title>
<updated>2025-10-03T15:27:05Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2025-09-25T13:56:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=41bcb54bff9c90b05201881c0850f4ef938e2b55'/>
<id>urn:sha1:41bcb54bff9c90b05201881c0850f4ef938e2b55</id>
<content type='text'>
Backport of 0a09c60e97166e0188717ff340b4d93b72207e96 from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #36213 -- Doc'd MySQL's handling of self-select updates in QuerySet.update().</title>
<updated>2025-04-02T06:46:48Z</updated>
<author>
<name>Babak Mahmoudy</name>
<email>babak.mahmoudy@projectfocushq.com</email>
</author>
<published>2025-04-01T08:34:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=c68f3516be266cbc3929e51e32ed63d304ac5cc6'/>
<id>urn:sha1:c68f3516be266cbc3929e51e32ed63d304ac5cc6</id>
<content type='text'>
Co-authored-by: Andro Ranogajec &lt;ranogaet@gmail.com&gt;

Backport of be1b776ad8d6f9bccfbdf63f84b16fb81a13119e from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed pronoun disagreement in docs/ref/models/querysets.txt.</title>
<updated>2025-03-14T09:49:28Z</updated>
<author>
<name>Clifford Gama</name>
<email>cliffygamy@gmail.com</email>
</author>
<published>2025-03-07T07:34:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9b60ec56dd761fa4a2148cfccb98e77760a04766'/>
<id>urn:sha1:9b60ec56dd761fa4a2148cfccb98e77760a04766</id>
<content type='text'>
Backport of ef6a83789b310a441237a190a493c9586a4cb260 from main.
</content>
</entry>
<entry>
<title>[5.2.x] Corrected aggregation example in docs/ref/models/querysets.txt.</title>
<updated>2025-03-14T09:48:54Z</updated>
<author>
<name>Clifford Gama</name>
<email>cliffygamy@gmail.com</email>
</author>
<published>2025-03-06T21:29:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=fa2adc383fea89d4b7540ba65ae72279e5d9725a'/>
<id>urn:sha1:fa2adc383fea89d4b7540ba65ae72279e5d9725a</id>
<content type='text'>
Backport of 3235e76eb50be20756f82cb3bbe8e32cc586f7bb from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed incorrect formatting for inline pluralized code references in docs.</title>
<updated>2025-03-13T18:23:55Z</updated>
<author>
<name>Clifford Gama</name>
<email>53076065+cliff688@users.noreply.github.com</email>
</author>
<published>2025-03-13T18:18:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=91971013a1d56917338bad63aee7b831019859db'/>
<id>urn:sha1:91971013a1d56917338bad63aee7b831019859db</id>
<content type='text'>
Backport of efe3ca09e029c63e25f6e19843cb0c68cc7fa816 from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #36066 -- Documented that Q objects can be used directly in annotations.</title>
<updated>2025-03-10T11:55:50Z</updated>
<author>
<name>samruddhiDharankar</name>
<email>samruddhee.dharankar@gmail.com</email>
</author>
<published>2025-03-01T22:53:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=930d9c2fd9755ac5a5fd6c826a3606590e0c48d5'/>
<id>urn:sha1:930d9c2fd9755ac5a5fd6c826a3606590e0c48d5</id>
<content type='text'>
Backport of 9120a19c4ecb643111b073dd1069e6b410a03c23 from main.
</content>
</entry>
<entry>
<title>Fixed #35856 -- Added QuerySet.explain() support for MEMORY/SERIALIZE option on PostgreSQL 17+.</title>
<updated>2024-10-30T14:54:48Z</updated>
<author>
<name>Anthony Joseph</name>
<email>ajosephau@users.noreply.github.com</email>
</author>
<published>2024-10-23T11:13:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=3a8f52fbc6fe2ff646a2da4165497d82117e4a92'/>
<id>urn:sha1:3a8f52fbc6fe2ff646a2da4165497d82117e4a92</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed outdated note about lack of subquery support in MySQL.</title>
<updated>2024-08-28T18:55:30Z</updated>
<author>
<name>Adam Johnson</name>
<email>me@adamj.eu</email>
</author>
<published>2024-08-28T18:55:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=26a67943ac5c2f196621220b24f4314d84471d07'/>
<id>urn:sha1:26a67943ac5c2f196621220b24f4314d84471d07</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #28900 -- Made SELECT respect the order specified by values(*selected).</title>
<updated>2024-07-03T14:36:25Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2023-03-28T04:13:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=65ad4ade74dc9208b9d686a451cd6045df0c9c3a'/>
<id>urn:sha1:65ad4ade74dc9208b9d686a451cd6045df0c9c3a</id>
<content type='text'>
Previously the order was always extra_fields + model_fields + annotations with
respective local ordering inferred from the insertion order of *selected.

This commits introduces a new `Query.selected` propery that keeps tracks of the
global select order as specified by on values assignment. This is crucial
feature to allow the combination of queries mixing annotations and table
references.

It also allows the removal of the re-ordering shenanigans perform by
ValuesListIterable in order to re-map the tuples returned from the database
backend to the order specified by values_list() as they'll be in the right
order at query compilation time.

Refs #28553 as the initially reported issue that was only partially fixed
for annotations by d6b6e5d0fd4e6b6d0183b4cf6e4bd4f9afc7bf67.

Thanks Mariusz Felisiak and Sarah Boyce for review.
</content>
</entry>
</feed>
