class documentation

class ForNode(Node): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method __repr__ Undocumented
Method render Return the node rendered as a string.
Class Variable child_nodelists Undocumented
Instance Variable is_reversed Undocumented
Instance Variable loopvars Undocumented
Instance Variable nodelist_empty Undocumented
Instance Variable nodelist_loop Undocumented
Instance Variable sequence Undocumented

Inherited from Node:

Method get_nodes_by_type Return a list of all nodes (within this node and its nodelist) of the given type
Method render_annotated Render the node. If debug is True and an exception occurs during rendering, the exception is annotated with contextual line information where it occurred in the template. For internal usage this method is preferred over using the render method directly.
Class Variable must_be_first Undocumented
Class Variable token Undocumented
def __init__(self, loopvars, sequence, is_reversed, nodelist_loop, nodelist_empty=None): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def render(self, context): (source)

Return the node rendered as a string.

child_nodelists: tuple[str, ...] = (source)
is_reversed = (source)

Undocumented

loopvars = (source)

Undocumented

nodelist_empty = (source)

Undocumented

nodelist_loop = (source)

Undocumented

sequence = (source)

Undocumented