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

Method action1

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

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 1

ResponseClass · 0.90

Tested by

no test coverage detected