dj_angles.templatetags.template =============================== .. py:module:: dj_angles.templatetags.template Module Contents --------------- .. py:data:: logger .. py:class:: NodeListRenderer(nodelist: django.template.NodeList, parsed_function: dj_angles.evaluator.ParsedFunction, *, include_context: bool = False) .. py:attribute:: nodelist .. py:attribute:: parsed_function .. py:attribute:: include_context .. py:method:: render(context: dict) -> str .. py:class:: TemplateNode(nodelist: django.template.NodeList, parsed_function: dj_angles.evaluator.ParsedFunction, *, include_context: bool = False) Bases: :py:obj:`django.template.Node` .. py:attribute:: nodelist .. py:attribute:: parsed_function .. py:attribute:: include_context .. py:method:: render(context) Execute the function with the provided arguments and stores the results in context. .. py:function:: do_template(parser, token) -> TemplateNode Parses the token to get all the pieces needed to render the template. :param parser: The template parser. :param token: The token to parse. :returns: Handles rendering the template. :rtype: TemplateNode