MCPcopy
hub / github.com/django/django / on_template_render

Method on_template_render

django/test/testcases.py:139–141  ·  view source on GitHub ↗
(self, sender, signal, template, context, **kwargs)

Source from the content-addressed store, hash-verified

137 self.context = ContextList()
138
139 def on_template_render(self, sender, signal, template, context, **kwargs):
140 self.rendered_templates.append(template)
141 self.context.append(copy(context))
142
143 @property
144 def rendered_template_names(self):

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected