Opened 3 months ago

Last modified 3 months ago

#37199 closed Bug

Typo in bulk_update() reference code example — at Version 2

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 (2)

comment:1 by Tom Most, 3 months ago

Has patch: set
Owner: set to Tom Most
Status: new → assigned

comment:2 by Tim Graham, 3 months ago

Description: modified (diff)
Summary: Typo in bulk_update() reference docs → Typo in bulk_update() reference code example
Triage Stage: Unreviewed → Accepted
Type: Uncategorized → Bug
Note: See TracTickets for help on using tickets.
Back to Top