#16081: export_selected_objects example doesn't work when selecting all
---------------------------+-------------------------------
Reporter: dmbst32@… | Owner: nobody
Type: Uncategorized | Status: new
Milestone: | Component: Documentation
Version: 1.3 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
---------------------------+-------------------------------
In [http://docs.djangoproject.com/en/dev/ref/contrib/admin/actions
/#actions-that-provide-intermediate-pages 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.
--
Ticket URL: <https://code.djangoproject.com/ticket/16081>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.