class documentation
class TagHelperNode(Node): (source)
Known subclasses: django.template.library.InclusionNode
, django.template.library.SimpleNode
Base class for tag helper nodes such as SimpleNode and InclusionNode. Manages the positional and keyword arguments to be passed to the decorated function.
Method | __init__ |
Undocumented |
Method | get |
Undocumented |
Instance Variable | args |
Undocumented |
Instance Variable | func |
Undocumented |
Instance Variable | kwargs |
Undocumented |
Instance Variable | takes |
Undocumented |
Inherited from Node
:
Method | get |
Return a list of all nodes (within this node and its nodelist) of the given type |
Method | render |
Return the node rendered as a string. |
Method | render |
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 |
Undocumented |
Class Variable | must |
Undocumented |
Class Variable | token |
Undocumented |