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

Method get

tests/test_versioning.py:22–23  ·  view source on GitHub ↗
(self, request, *args, **kwargs)

Source from the content-addressed store, hash-verified

20
21class ReverseView(APIView):
22 def get(self, request, *args, **kwargs):
23 return Response({'url': reverse('another', request=request)})
24
25
26class AllowedVersionsView(RequestVersionView):

Calls 2

ResponseClass · 0.90
reverseFunction · 0.90

Tested by

no test coverage detected