#31500: Allow QuerySet.in_bulk() for fields with total UniqueConstraints.
-------------------------------------+-------------------------------------
Reporter: Hannes Ljungberg | Owner: Hannes
| Ljungberg
Type: Bug | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"447980e72ac01da1594dd3373a03ba40b7ee6f80" 447980e7]:
{{{
#!CommitTicketReference repository=""
revision="447980e72ac01da1594dd3373a03ba40b7ee6f80"
Fixed #31500 -- Fixed detecting of unique fields in QuerySet.in_bulk()
when using Meta.constraints.
Detection of unique fields now takes into account non-partial unique
constraints.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31500#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.002e4a773af6e5c7ffa2439b0c74162a%40djangoproject.com.