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

Method put

rest_framework/test.py:199–201  ·  view source on GitHub ↗
(self, path, data=None, format=None, content_type=None, **extra)

Source from the content-addressed store, hash-verified

197 return self.generic('POST', path, data, content_type, **extra)
198
199 def put(self, path, data=None, format=None, content_type=None, **extra):
200 data, content_type = self._encode_data(data, format, content_type)
201 return self.generic('PUT', path, data, content_type, **extra)
202
203 def patch(self, path, data=None, format=None, content_type=None, **extra):
204 data, content_type = self._encode_data(data, format, content_type)

Callers

nothing calls this directly

Calls 2

_encode_dataMethod · 0.95
genericMethod · 0.95

Tested by

no test coverage detected