Opened 14 years ago
Closed 14 years ago
#16081 closed Uncategorized (duplicate)
export_selected_objects example doesn't work when selecting all
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Documentation | Version: | 1.3 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
In Actions that provide intermediate pages the export_selected_objects example is not correct. In a case where the "select all x objects" is marked, we expect the queryset to be all objects that match the user's filter. But request.POST.getlist(admin.ACTION_CHECKBOX_NAME) gives us only the objects checked off, not all objects.
Note:
See TracTickets
for help on using tickets.
This is #15742.