class documentation

class CycleNode(Node): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method render Return the node rendered as a string.
Method reset Reset the cycle iteration back to the beginning.
Instance Variable cyclevars Undocumented
Instance Variable silent Undocumented
Instance Variable variable_name 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, cyclevars, variable_name=None, silent=False): (source)

Undocumented

def render(self, context): (source)

Return the node rendered as a string.

def reset(self, context): (source)

Reset the cycle iteration back to the beginning.

cyclevars = (source)

Undocumented

Undocumented

variable_name = (source)

Undocumented