Opened 4 weeks ago

Last modified 2 weeks ago

#37199 closed Bug

Typo in bulk_update() reference docs — at Initial Version

Reported by: Tom Most Owned by:
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

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)

Change History (0)

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