(func, name)
| 1071 | |
| 1072 | @staticmethod |
| 1073 | def _get_action_description(func, name): |
| 1074 | try: |
| 1075 | return func.short_description |
| 1076 | except AttributeError: |
| 1077 | return capfirst(name.replace("_", " ")) |
| 1078 | |
| 1079 | def _get_base_actions(self, action_location=ActionLocation.CHANGE_LIST): |
| 1080 | """Return the list of actions, prior to any request-based filtering.""" |
no test coverage detected