Ticket #10505
Attachments (10)
- admin-actions.1.diff (15.9 KB ) - added by Jannis Leidel 16 years ago.
- Initial patch, partly based on django-batchadmin
- admin-actions.2.diff (23.9 KB ) - added by Jannis Leidel 16 years ago.
- Refactored action loading and choices. Only the queryset of the selection is passed to actions (in model admin methods and function) now. Model methods don't get the whole queryset anymore but are called each (~obj.action()). Added tests, yay!
- admin-actions.3.diff (24.4 KB ) - added by Jannis Leidel 16 years ago.
- Small fix for admin_registration tests
- admin-actions.4.diff (24.4 KB ) - added by Jannis Leidel 16 years ago.
- Fixed redundancy in condition with callable_actions dictionary
- admin-actions.5.diff (24.4 KB ) - added by Jannis Leidel 16 years ago.
- Isolated the logic to look for callable actions inside the get_action method
- admin-actions.6.diff (29.9 KB ) - added by Jannis Leidel 16 years ago.
- Updated to work with merged list_editable code. Now only passes the queryset to response_action method and fixes some stylesheet issues.
- admin-actions.7.diff (34.4 KB ) - added by Jannis Leidel 16 years ago.
- Fixed problem with URLs in delete_selected action in a backwards compatible way.
- admin-actions.8.diff (34.6 KB ) - added by Martin Mahner 16 years ago.
- URL resolving now takes care of AdminSite's
- admin-actions.9.diff (34.8 KB ) - added by Jannis Leidel 16 years ago.
- Refactored get_action code. Removed support for model level actions. Added ability to add actions to all model admins of a admin site. Subclasses are now loaded from subclasses, too (get_actions). Now passes the request to get_actions and get_action_choices, e.g. for user permission dependent actions. Courtesy of Alex Gaynor
- admin-actions.diff (34.7 KB ) - added by Alex Gaynor 16 years ago.
Download all attachments as: .zip