Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/encode/django-rest-framework
/ render
Method
render
tests/test_response.py:49–50 ·
view source on GitHub ↗
(self, data, media_type=None, renderer_context=None)
Source
from the content-addressed store, hash-verified
47
format =
"formata"
48
49
def
render(self, data, media_type=None, renderer_context=None):
50
return
RENDERER_A_SERIALIZER(data)
51
52
53
class
RendererB(BaseRenderer):
Callers
15
test_get_root_view
Method · 0.45
test_head_root_view
Method · 0.45
test_post_root_view
Method · 0.45
test_put_root_view
Method · 0.45
test_delete_root_view
Method · 0.45
test_post_cannot_set_id
Method · 0.45
test_post_error_root_view
Method · 0.45
test_get_instance_view
Method · 0.45
test_post_instance_view
Method · 0.45
test_put_instance_view
Method · 0.45
test_patch_instance_view
Method · 0.45
test_delete_instance_view
Method · 0.45
Calls
1
RENDERER_A_SERIALIZER
Function · 0.70
Tested by
no test coverage detected