X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/ba412401bcd900ab40a1ec0c2a390ddac330d533..fa522c1bbf16351ce4dc32b003733b9447404581:/models.py diff --git a/models.py b/models.py index b1da9d0..dcb5d74 100644 --- a/models.py +++ b/models.py @@ -311,7 +311,7 @@ class Template(TreeModel): nodes = [] for node in nodelist: try: - for nodelist_name in ('nodelist', 'nodelist_loop', 'nodelist_empty', 'nodelist_true', 'nodelist_false'): + for nodelist_name in ('nodelist', 'nodelist_loop', 'nodelist_empty', 'nodelist_true', 'nodelist_false', 'nodelist_main'): if hasattr(node, nodelist_name): nodes.extend(nodelist_container_nodes(getattr(node, nodelist_name))) if isinstance(node, ContainerNode):