id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 10871 Add input support to admin actions (with patch) Jerome Leclanche Jerome Leclanche "I wanted to be able to set tags to a lot of objects at once in the admin site. The attached patch adds a takes_input attribute to an admin action (default False). If set to True, a 4th ""input"" argument will be passed, which you can use as such: {{{ def add_tag(modeladmin, request, queryset, input): for obj in queryset: Tag.objects.add_tag(obj, input) add_tag.takes_input = True }}} I'd love some comments on it. Some TODO would be: - Hiding the input if no give action takes an input - js-disabling it if the current selected action doesn't take an input.. not too sure about that." New feature closed contrib.admin Normal wontfix kmike84@… Design decision needed 1 0 0 0 0 1