class documentation

class ExtendsNode(Node):

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method __repr__ Undocumented
Method find​_template No summary
Method get​_parent Undocumented
Method render Return the node rendered as a string.
Class Variable context​_key Undocumented
Class Variable must​_be​_first Undocumented
Instance Variable blocks Undocumented
Instance Variable nodelist Undocumented
Instance Variable parent​_name Undocumented
Instance Variable template​_dirs Undocumented

Inherited from Node:

Method __iter__ Undocumented
Method get​_nodes​_by​_type Return a list of all nodes (within this node and its nodelist) of the given type
Method render​_annotated No summary
Class Variable child​_nodelists Undocumented
Class Variable token Undocumented
def __init__(self, nodelist, parent_name, template_dirs=None):

Undocumented

def __repr__(self):

Undocumented

def find_template(self, template_name, context):
This is a wrapper around engine.find_template(). A history is kept in the render_context attribute between successive extends calls and passed as the skip argument. This enables extends to work recursively without extending the same template twice.
def get_parent(self, context):

Undocumented

def render(self, context):
Return the node rendered as a string.
context_key: str =

Undocumented

must_be_first: bool =
blocks =

Undocumented

nodelist =

Undocumented

parent_name =

Undocumented

template_dirs =

Undocumented