#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 )
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 , 4 weeks ago
| Has patch: | set |
|---|---|
| Owner: | set to |
| Status: | new → assigned |
comment:2 by , 3 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 |
comment:3 by , 2 weeks ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
comment:4 by , 2 weeks ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In 7112007: