You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to have an admin action with changelists to perform transition changes (e.g. soft-deletion) on a list of selected objects (e.g. locks), similar to the submit buttons on the detail view.
The list would contain any possible target transition, or just the valid ones according to the existing/listed objects (from the queryset).
(It might be even possible to only provide valid choices in the dropdown, by using JS and looking at the selected objects, but that's not that trivial then anymore)
I see that this might result in trying to apply invalid transitions, but in this case these could just get skipped (with a message/notification).
The text was updated successfully, but these errors were encountered:
blueyed
changed the title
admin: add FSM actions (e.g. soft-delete etc) to dropdown actions
admin: add FSM actions to ModelAdmin changelist actions
Sep 8, 2015
blueyed
changed the title
admin: add FSM actions to ModelAdmin changelist actions
Add FSM actions to ModelAdmin changelist actions
Sep 8, 2015
It would be useful to have an admin action with changelists to perform transition changes (e.g. soft-deletion) on a list of selected objects (e.g. locks), similar to the submit buttons on the detail view.
This could be handled via ModelAdmin's actions.
The list would contain any possible target transition, or just the valid ones according to the existing/listed objects (from the queryset).
(It might be even possible to only provide valid choices in the dropdown, by using JS and looking at the selected objects, but that's not that trivial then anymore)
I see that this might result in trying to apply invalid transitions, but in this case these could just get skipped (with a message/notification).
The text was updated successfully, but these errors were encountered: