#35611: Admin action without the need to select objects
-------------------------------------+-------------------------------------
Reporter: Patrick Hintermayer | Type: New
| feature
Status: new | Component:
| contrib.admin
Version: 5.0 | Severity: Normal
Keywords: actions | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
I suggest adding a new option to write actions which does not need objects
to be selected. For example we want to add an action to reset a reminder
flag for all existing objects. But if you haven't selected any objects, it
does not work and shows you the message, that no objects were selected.
A possible non-breaking option could be to add a new optional parameter to
the @admin.action() decorator to deactivate the previously mentioned
behavior.
--
Ticket URL: <
https://code.djangoproject.com/ticket/35611>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.