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

Method list

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

Source from the content-addressed store, hash-verified

134
135class BasicViewSet(viewsets.ViewSet):
136 def list(self, request, *args, **kwargs):
137 return Response({'method': 'list'})
138
139 @action(methods=['post'], detail=True)
140 def action1(self, request, *args, **kwargs):

Callers

nothing calls this directly

Calls 1

ResponseClass · 0.90

Tested by

no test coverage detected