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_renderers.py:62–63 ·
view source on GitHub ↗
(self, data, media_type=None, renderer_context=None)
Source
from the content-addressed store, hash-verified
60
format =
"formata"
61
62
def
render(self, data, media_type=None, renderer_context=None):
63
return
RENDERER_A_SERIALIZER(data)
64
65
66
class
RendererB(BaseRenderer):
Callers
15
test_expected_results
Method · 0.45
test_only_permitted_forms_are_displayed
Method · 0.45
test_render_raise_error
Method · 0.45
test_render_lazy_strings
Method · 0.45
test_render_queryset_values
Method · 0.45
test_render_queryset_values_list
Method · 0.45
test_render_dict_abc_obj
Method · 0.45
test_render_obj_with_getitem
Method · 0.45
test_proper_encoding
Method · 0.45
test_render_initial_option
Method · 0.45
test_render_selected_option
Method · 0.45
test_render_selected_option_with_string_option_ids
Method · 0.45
Calls
1
RENDERER_A_SERIALIZER
Function · 0.70
Tested by
no test coverage detected