dj_angles.templatetags.template¶
Module Contents¶
- dj_angles.templatetags.template.logger¶
- class dj_angles.templatetags.template.NodeListRenderer(nodelist: django.template.NodeList, parsed_function: dj_angles.evaluator.ParsedFunction, *, include_context: bool = False)¶
- nodelist¶
- parsed_function¶
- include_context = False¶
- class dj_angles.templatetags.template.TemplateNode(nodelist: django.template.NodeList, parsed_function: dj_angles.evaluator.ParsedFunction, *, include_context: bool = False)¶
Bases:
django.template.Node
- nodelist¶
- parsed_function¶
- include_context = False¶
- render(context)¶
Execute the function with the provided arguments and stores the results in context.
- dj_angles.templatetags.template.do_template(parser, token) → TemplateNode¶
Parses the token to get all the pieces needed to render the template.
- Parameters:
parser – The template parser.
token – The token to parse.
- Returns:
Handles rendering the template.
- Return type: