Re: [Django] #37199: Typo in bulk_update() reference code example (was: Typo in bulk_update() reference docs)

2 views
Skip to first unread message

Django

unread,
Jul 2, 2026, 5:35:40 AM (2 days ago) Jul 2
to django-...@googlegroups.com
#37199: Typo in bulk_update() reference code example
-------------------------------+------------------------------------
Reporter: Tom Most | Owner: Tom Most
Type: Bug | Status: assigned
Component: Documentation | Version: 6.0
Severity: Normal | Resolution:
Keywords: | 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):

* stage: Unreviewed => Accepted
* summary: Typo in bulk_update() reference docs => Typo in bulk_update()
reference code example
* type: Uncategorized => Bug


Old description:

> https://docs.djangoproject.com/en/6.0/ref/models/querysets/#bulk-update
>
> This line:
>
> {{{
> batch = Entry.objects.filter(ids__in=ids)
> }}}
>
> Should probably be:
>
> {{{
> batch = Entry.objects.filter(id__in=ids)
> }}}

New description:

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)
}}}

--
--
Ticket URL: <https://code.djangoproject.com/ticket/37199#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages