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

Method get

rest_framework/generics.py:242–243  ·  view source on GitHub ↗
(self, request, *args, **kwargs)

Source from the content-addressed store, hash-verified

240 Concrete view for listing a queryset or creating a model instance.
241 """
242 def get(self, request, *args, **kwargs):
243 return self.list(request, *args, **kwargs)
244
245 def post(self, request, *args, **kwargs):
246 return self.create(request, *args, **kwargs)

Callers

nothing calls this directly

Calls 1

listMethod · 0.45

Tested by

no test coverage detected