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

Method action3_delete

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

Source from the content-addressed store, hash-verified

150
151 @action3.mapping.delete
152 def action3_delete(self, request, pk, *args, **kwargs):
153 return Response({'delete': pk})
154
155
156class TestSimpleRouter(URLPatternsTestCase, TestCase):

Callers

nothing calls this directly

Calls 1

ResponseClass · 0.90

Tested by

no test coverage detected