Opened 4 weeks ago

Closed 2 weeks ago

Last modified 2 weeks ago

#37199 closed Bug (fixed)

Typo in bulk_update() reference code example

Reported by: Tom Most Owned by: Tom Most
Component: Documentation Version: 6.0
Severity: Normal Keywords:
Cc: Tom Most Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by Tim Graham)

https://docs.djangoproject.com/en/6.0/ref/models/querysets/#bulk-update

This line:

    batch = Entry.objects.filter(ids__in=ids)

Should be:

    batch = Entry.objects.filter(id__in=ids)

Change History (6)

comment:1 by Tom Most, 4 weeks ago

Has patch: set
Owner: set to Tom Most
Status: newassigned

comment:2 by Tim Graham, 3 weeks ago

Description: modified (diff)
Summary: Typo in bulk_update() reference docsTypo in bulk_update() reference code example
Triage Stage: UnreviewedAccepted
Type: UncategorizedBug

comment:3 by ontowhee, 2 weeks ago

Triage Stage: AcceptedReady for checkin

comment:4 by Sarah Boyce <42296566+sarahboyce@…>, 2 weeks ago

Resolution: fixed
Status: assignedclosed

In 7112007:

Fixed #37199 -- Fixed typo in bulk_update code example in docs/ref/models/querysets.txt.

comment:5 by Sarah Boyce <42296566+sarahboyce@…>, 2 weeks ago

In 4b28273d:

[6.1.x] Fixed #37199 -- Fixed typo in bulk_update code example in docs/ref/models/querysets.txt.

Backport of 7112007fcaf7a7db8a4a6bb1d45b51d8fa41d0b7 from main.

comment:6 by Sarah Boyce <42296566+sarahboyce@…>, 2 weeks ago

In 19e24f2f:

[6.0.x] Fixed #37199 -- Fixed typo in bulk_update code example in docs/ref/models/querysets.txt.

Backport of 7112007fcaf7a7db8a4a6bb1d45b51d8fa41d0b7 from main.

Note: See TracTickets for help on using tickets.
Back to Top