store_rendered_templates
Store templates and contexts that are rendered.
The context is copied so that it is an accurate representation at the time of rendering.
def store_rendered_templates(
store: dict,
signal: Any,
sender: Any,
template: Template,
context: Context,
**kwargs: dict
) - > null
Store templates and contexts that are rendered. The context is copied so that it is an accurate representation at the time of rendering.
Parameters
| Name | Type | Description |
|---|---|---|
| store | dict | The dictionary used to accumulate rendered template names and their associated context data. |
| signal | Any | The signal instance that triggered this handler, typically a Django template_rendered signal. |
| sender | Any | The object that sent the signal, usually the Template class or instance. |
| template | Template | The template object or name that was just rendered. |
| context | Context | The template context object containing the variables available during rendering. |
| **kwargs | dict | Additional keyword arguments passed by the signal dispatcher. |
Returns
| Type | Description |
|---|---|
null | No value is returned; the provided store dictionary is modified in-place. |