#35690: Calling queryset.in_bulk() after queryset.values() or
queryset.values_list() results in unhelpful error
-------------------------------------+-------------------------------------
Reporter: john-parton | Owner: john-
Type: | parton
Cleanup/optimization | Status: closed
Component: Database layer | Version: 5.1
(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 Sarah Boyce <42296566+sarahboyce@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"e4a2e22ddbf1b892144b35dc21404c164bc848c6" e4a2e22]:
{{{#!CommitTicketReference repository=""
revision="e4a2e22ddbf1b892144b35dc21404c164bc848c6"
Fixed #35690 -- Errored nicely when using in_bulk() with a values() or
values_list() queryset.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35690#comment:6>
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/01070191b2d6a3d9-467123bd-14a8-4a7a-b51b-1ad800283a83-000000%40eu-central-1.amazonses.com.