[Django] #30106: Use bulk_update to perform order_with_respect to updates

3 views
Skip to first unread message

Django

unread,
Jan 16, 2019, 10:56:01 PM1/16/19
to django-...@googlegroups.com
#30106: Use bulk_update to perform order_with_respect to updates
-------------------------------------+-------------------------------------
Reporter: Simon | Owner: nobody
Charette |
Type: | Status: new
Cleanup/optimization |
Component: Database | Version: master
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
There's a FIXME about it

https://github.com/django/django/blob/aa5fd84f53f09338d01a3cfd9fa6ab08e418fe00/django/db/models/base.py#L1785-L1789

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

Django

unread,
Jan 17, 2019, 9:43:10 AM1/17/19
to django-...@googlegroups.com
#30106: Use bulk_update to perform order_with_respect to updates
-------------------------------------+-------------------------------------
Reporter: Simon Charette | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/30106#comment:1>

Django

unread,
Jan 17, 2019, 9:43:35 AM1/17/19
to django-...@googlegroups.com
#30106: Use bulk_update to perform order_with_respect to updates
-------------------------------------+-------------------------------------
Reporter: Simon Charette | Owner: nobody
Type: | Status: new
Cleanup/optimization |

Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
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 felixxm):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/30106#comment:2>

Django

unread,
Jan 21, 2019, 5:27:23 PM1/21/19
to django-...@googlegroups.com
#30106: Use bulk_update to perform order_with_respect to updates
-------------------------------------+-------------------------------------
Reporter: Simon Charette | Owner: nobody
Type: | Status: closed

Cleanup/optimization |
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 Tim Graham <timograham@…>):

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


Comment:

In [changeset:"8d2dcc47cd7f6069a1fa2c5b67a329cec5846b7e" 8d2dcc4]:
{{{
#!CommitTicketReference repository=""
revision="8d2dcc47cd7f6069a1fa2c5b67a329cec5846b7e"
Fixed #30106 -- Made order_with_respect_to updates use
QuerySet.bulk_update().
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30106#comment:3>

Reply all
Reply to author
Forward
0 new messages