class documentation

class IncludeNode(Node): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method __repr__ Undocumented
Method render Render the specified template and context. Cache the template object in render_context to avoid reparsing and loading when used in a for loop.
Class Variable context_key Undocumented
Instance Variable extra_context Undocumented
Instance Variable isolated_context Undocumented
Instance Variable template 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 child_nodelists Undocumented
Class Variable must_be_first Undocumented
Class Variable token Undocumented
def __init__(self, template, *args, extra_context=None, isolated_context=False, **kwargs): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def render(self, context): (source)

Render the specified template and context. Cache the template object in render_context to avoid reparsing and loading when used in a for loop.

context_key: str = (source)

Undocumented

extra_context = (source)

Undocumented

isolated_context = (source)

Undocumented

template = (source)

Undocumented