#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. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/01070190c13ad0aa-f28cea73-398d-4212-9faa-f31890982f50-000000%40eu-central-1.amazonses.com.