Re: [Django] #36594: Clarify UniqueConstraint's nulls_distinct system check warning (was: UniqueConstraint with a boolean value of nulls_distinct causes misleading warning for sqlite (and likely other dbs))

1 view
Skip to first unread message

Django

unread,
Sep 4, 2025, 10:20:13 AM (4 days ago) Sep 4
to django-...@googlegroups.com
#36594: Clarify UniqueConstraint's nulls_distinct system check warning
-------------------------------------+-------------------------------------
Reporter: Russell Owen | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: Database layer | Version: 5.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: UniqueConstraint | Triage Stage: Accepted
nulls_distinct |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* easy: 0 => 1
* stage: Unreviewed => Accepted
* summary:
UniqueConstraint with a boolean value of nulls_distinct causes
misleading warning for sqlite (and likely other dbs)
=> Clarify UniqueConstraint's nulls_distinct system check warning
* type: Uncategorized => Cleanup/optimization

Comment:

See #36592 for initial discussion.
--
Ticket URL: <https://code.djangoproject.com/ticket/36594#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages