MCPcopy Create free account
hub / github.com/encode/django-rest-framework / to_html

Method to_html

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

Source from the content-addressed store, hash-verified

864 }
865
866 def to_html(self):
867 template = loader.get_template(self.template)
868 context = self.get_html_context()
869 return template.render(context)
870
871 def get_schema_operation_parameters(self, view):
872 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