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

Method to_html

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

Source from the content-addressed store, hash-verified

478 }
479
480 def to_html(self):
481 template = loader.get_template(self.template)
482 context = self.get_html_context()
483 return template.render(context)
484
485 def get_count(self, queryset):
486 """

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