MCPcopy
hub / github.com/encode/django-rest-framework / action3

Method action3

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

Source from the content-addressed store, hash-verified

146
147 @action(methods=['post'], detail=True)
148 def action3(self, request, pk, *args, **kwargs):
149 return Response({'post': pk})
150
151 @action3.mapping.delete
152 def action3_delete(self, request, pk, *args, **kwargs):

Callers

nothing calls this directly

Calls 1

ResponseClass · 0.90

Tested by

no test coverage detected