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

Method to_html

rest_framework/pagination.py:302–305  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

300 }
301
302 def to_html(self):
303 template = loader.get_template(self.template)
304 context = self.get_html_context()
305 return template.render(context)
306
307 def get_schema_operation_parameters(self, view):
308 parameters = [

Callers

nothing calls this directly

Calls 3

get_html_contextMethod · 0.95
get_templateMethod · 0.45
renderMethod · 0.45

Tested by

no test coverage detected