MCPcopy Create free account
hub / github.com/encode/django-rest-framework / post

Method post

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

Source from the content-addressed store, hash-verified

191 Concrete view for creating a model instance.
192 """
193 def post(self, request, *args, **kwargs):
194 return self.create(request, *args, **kwargs)
195
196
197class ListAPIView(mixins.ListModelMixin,

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected