MCPcopy Index your code
hub / github.com/encode/django-rest-framework / action2

Method action2

tests/test_routers.py:144–145  ·  view source on GitHub ↗
(self, request, *args, **kwargs)

Source from the content-addressed store, hash-verified

142
143 @action(methods=['post', 'delete'], detail=True)
144 def action2(self, request, *args, **kwargs):
145 return Response({'method': 'action2'})
146
147 @action(methods=['post'], detail=True)
148 def action3(self, request, pk, *args, **kwargs):

Callers

nothing calls this directly

Calls 1

ResponseClass · 0.90

Tested by

no test coverage detected