(self, request, *args, **kwargs)
| 138 | |
| 139 | @action(methods=['post'], detail=True) |
| 140 | def action1(self, request, *args, **kwargs): |
| 141 | return Response({'method': 'action1'}) |
| 142 | |
| 143 | @action(methods=['post', 'delete'], detail=True) |
| 144 | def action2(self, request, *args, **kwargs): |