Re: [Django] #8065: Calling queyset.in_bulk (without any arguments) should evaluate the whole queryset.

16 views
Skip to first unread message

Django

unread,
Jul 30, 2015, 3:10:30 PM7/30/15
to django-...@googlegroups.com
#8065: Calling queyset.in_bulk (without any arguments) should evaluate the whole
queryset.
-------------------------------------+-------------------------------------
Reporter: ElliottM | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: in_bulk filter list | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by JMGordon):

* cc: JMGordon (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/8065#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Oct 26, 2015, 3:46:18 PM10/26/15
to django-...@googlegroups.com
#8065: Calling queyset.in_bulk (without any arguments) should evaluate the whole
queryset.
-------------------------------------+-------------------------------------
Reporter: ElliottM | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: in_bulk filter list | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):

* easy: 0 => 1


Comment:

Marking as "Easy pickings" since it looks to me like updating this patch
shouldn't be too difficult. Check it with the PatchReviewChecklist.

--
Ticket URL: <https://code.djangoproject.com/ticket/8065#comment:12>

Django

unread,
Oct 29, 2015, 3:13:52 AM10/29/15
to django-...@googlegroups.com
#8065: Calling queyset.in_bulk (without any arguments) should evaluate the whole
queryset.
-------------------------------------+-------------------------------------
Reporter: ElliottM | Owner: bxm156
Type: New feature | Status: assigned

Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: in_bulk filter list | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by bxm156):

* owner: nobody => bxm156
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/8065#comment:13>

Django

unread,
Oct 30, 2015, 2:36:57 AM10/30/15
to django-...@googlegroups.com
#8065: Calling queyset.in_bulk (without any arguments) should evaluate the whole
queryset.
-------------------------------------+-------------------------------------
Reporter: ElliottM | Owner: bxm156
Type: New feature | Status: assigned
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: in_bulk filter list | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by bxm156):

Diff
https://github.com/bxm156/django/commit/5a264a641be2acb15e5f43b8d8420e91a8c9099e

Opened
https://github.com/django/django/pull/5514

--
Ticket URL: <https://code.djangoproject.com/ticket/8065#comment:14>

Django

unread,
Dec 22, 2015, 7:02:40 AM12/22/15
to django-...@googlegroups.com
#8065: Calling queyset.in_bulk (without any arguments) should evaluate the whole
queryset.
-------------------------------------+-------------------------------------
Reporter: ElliottM | Owner: bxm156
Type: New feature | Status: assigned
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: in_bulk filter list | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by PramodBisht):

* cc: pramodpsb@… (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/8065#comment:15>

Django

unread,
Dec 25, 2015, 1:24:14 AM12/25/15
to django-...@googlegroups.com
#8065: Calling queyset.in_bulk (without any arguments) should evaluate the whole
queryset.
-------------------------------------+-------------------------------------
Reporter: ElliottM | Owner: bxm156
Type: New feature | Status: assigned
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: in_bulk filter list | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by bxm156):

* needs_better_patch: 1 => 0


Comment:

Updated Diff:
https://github.com/bxm156/django/commit/513e72a46a19791daeb600e8b3cc29aeb35d206d

PR: ​https://github.com/django/django/pull/5514

--
Ticket URL: <https://code.djangoproject.com/ticket/8065#comment:16>

Django

unread,
Dec 26, 2015, 6:00:53 PM12/26/15
to django-...@googlegroups.com
#8065: Calling queyset.in_bulk (without any arguments) should evaluate the whole
queryset.
-------------------------------------+-------------------------------------
Reporter: ElliottM | Owner: bxm156
Type: New feature | Status: closed

Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed

Keywords: in_bulk filter list | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"62ca2dea04489bdb23df1c7815439287c6d44630" 62ca2dea]:
{{{
#!CommitTicketReference repository=""
revision="62ca2dea04489bdb23df1c7815439287c6d44630"
Fixed #8065 -- Made id_list an optional argument for QuerySet.in_bulk().
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/8065#comment:17>

Reply all
Reply to author
Forward
0 new messages