Opened 4 weeks ago
Last modified 2 weeks 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 )
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 , 4 weeks ago
| Has patch: | set |
|---|---|
| Owner: | set to |
| Status: | new → assigned |
comment:2 by , 4 weeks 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.