<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chango.git/django/db, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/chango.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/chango.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/'/>
<updated>2026-04-30T23:52:11Z</updated>
<entry>
<title>Fixed #37075 -- Allowed overriding the PostgreSQL pool's "check" callable.</title>
<updated>2026-04-30T23:52:11Z</updated>
<author>
<name>Raoni Timo</name>
<email>raoni@relume.io</email>
</author>
<published>2026-04-30T13:57:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=9f790ef1a0f356cf6342b5d57bbaeac35aed0d9f'/>
<id>urn:sha1:9f790ef1a0f356cf6342b5d57bbaeac35aed0d9f</id>
<content type='text'>
Setting "check" in OPTIONS["pool"] previously raised TypeError because the
PostgreSQL backend always passed check= to ConnectionPool() and unpacked
**pool_options on top, regardless of CONN_HEALTH_CHECKS. The user's callable
now takes precedence via setdefault(); pool_options is copied first to avoid
mutating the user's settings dict.
</content>
</entry>
<entry>
<title>Fixed #36912 -- Added connector validation to Q.create().</title>
<updated>2026-04-28T10:42:49Z</updated>
<author>
<name>Anna Makarudze</name>
<email>amakarudze@gmail.com</email>
</author>
<published>2026-03-21T18:49:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=fb292a549371a7c011c25b1a10fe5d25c579814a'/>
<id>urn:sha1:fb292a549371a7c011c25b1a10fe5d25c579814a</id>
<content type='text'>
Co-authored-by: Jacob Walls &lt;jacobtylerwalls@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #37057 -- Adjusted UniqueConstraint handling of UNKNOWN condition.</title>
<updated>2026-04-22T21:28:35Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2026-04-22T15:46:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=61a62be313e395ce1265132bfc99f51476fb3c95'/>
<id>urn:sha1:61a62be313e395ce1265132bfc99f51476fb3c95</id>
<content type='text'>
When we adjusted UNKNOWN handling for CheckConstraint in refs #33996 we assumed
that all usage of Q.check would benefit from this approach.

However while CHECK constraints enforcement do ignore conditions involving NULL
that resolve to UNKNOWN it's not the case for other type of constraints such as
UNIQUE ones.

Given how UNKNOWN should be treated depends on the callers context it appears
that a better strategy for COALESCE wrapping is to force them to apply it if
necessary.

Thanks Drew Shapiro for the report.
</content>
</entry>
<entry>
<title>Fixed #35870 -- Made blank choice label in forms more accessible.</title>
<updated>2026-04-22T21:06:29Z</updated>
<author>
<name>Annabelle Wiegart</name>
<email>annabelle.wiegart@proton.me</email>
</author>
<published>2026-01-18T19:03:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=63c56cda133a85a158502891c40465bc0331d3d9'/>
<id>urn:sha1:63c56cda133a85a158502891c40465bc0331d3d9</id>
<content type='text'>
Added new constant django.db.models.fields.BLANK_CHOICE_LABEL for
an accessible and translatable blank choice label in forms.
Deprecated django.db.models.fields.BLANK_CHOICE_DASH constant.
Added the immediately deprecated transitional setting
USE_BLANK_CHOICE_DASH.

Co-Authored-By: Marijke Luttekes &lt;mail@marijkeluttekes.dev&gt;
</content>
</entry>
<entry>
<title>Refs #36005 -- Made OperationCategory subclass StrEnum.</title>
<updated>2026-04-20T20:49:26Z</updated>
<author>
<name>Clifford Gama</name>
<email>cliffygamy@gmail.com</email>
</author>
<published>2026-04-20T20:49:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=a77be30a4346d111beaf366dcee4934734458a48'/>
<id>urn:sha1:a77be30a4346d111beaf366dcee4934734458a48</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #28586 -- Added DEFAULT_FETCH_MODE module constant.</title>
<updated>2026-04-19T19:28:13Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2026-04-19T13:36:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=5cf9c7fde7cf18c1ab4d529d187f45fb0225bb58'/>
<id>urn:sha1:5cf9c7fde7cf18c1ab4d529d187f45fb0225bb58</id>
<content type='text'>
This is a more attractive target for alteration than all of QuerySet.__init__().
</content>
</entry>
<entry>
<title>Fixed #37047 -- Fixed crash in Query.orderby_issubset_groupby for descending and random order_by strings.</title>
<updated>2026-04-19T08:03:11Z</updated>
<author>
<name>Anže Pečar</name>
<email>anze@pecar.me</email>
</author>
<published>2026-04-18T11:54:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=a284a49153f005f2a7af087025e5112ba06cbd5f'/>
<id>urn:sha1:a284a49153f005f2a7af087025e5112ba06cbd5f</id>
<content type='text'>
Run this example:

```python
User.objects.values("is_staff").annotate(latest=Max("date_joined")).order_by("-latest").count()
```

You should see the following exception:

```
django.core.exceptions.FieldError: Cannot resolve keyword '-latest' into field.
```

Regression in 2ce5cb0f7a4618dfdc5f5c10e53e2e9b9543d298.
</content>
</entry>
<entry>
<title>Fixed #37036 -- Added missing flat=True arg in DeferredAttribute.fetch_many().</title>
<updated>2026-04-18T13:39:50Z</updated>
<author>
<name>garybadwal</name>
<email>gurpreet071999@gmail.com</email>
</author>
<published>2026-04-16T06:16:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=820c7d3248af6afbdf3390c97b29e41ba126a421'/>
<id>urn:sha1:820c7d3248af6afbdf3390c97b29e41ba126a421</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #37028 -- Added BitAnd(), BitOr(), and BitXor() aggregates.</title>
<updated>2026-04-18T06:53:21Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2026-04-18T06:53:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=ed79c5959add54b6e8ea589ec601e0d2e801517e'/>
<id>urn:sha1:ed79c5959add54b6e8ea589ec601e0d2e801517e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added DatabaseFeatures.disallowed_simple_test_case_connection_methods.</title>
<updated>2026-04-16T09:28:19Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2026-04-16T09:28:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=82a2465f71a1f5cbfe3811952c0d07482dea71c6'/>
<id>urn:sha1:82a2465f71a1f5cbfe3811952c0d07482dea71c6</id>
<content type='text'>
</content>
</entry>
</feed>
