From fbce62f91305f0f7d30997667206fc3be03e42b0 Mon Sep 17 00:00:00 2001 From: Yader Velasquez Date: Fri, 4 Jun 2021 12:39:47 -0600 Subject: [PATCH] Move get_article_tree templatetags --- src/wiki/templatetags/wiki_tags.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/wiki/templatetags/wiki_tags.py b/src/wiki/templatetags/wiki_tags.py index 0a84367e..f5b29a32 100644 --- a/src/wiki/templatetags/wiki_tags.py +++ b/src/wiki/templatetags/wiki_tags.py @@ -214,9 +214,3 @@ def wiki_settings(name): @register.filter def starts_with(value, arg): return value.startswith(arg) - -@register.simple_tag -def get_article_tree(node): - if not node.is_root_node(): - node = node.get_root() - return node.get_children() -- 2.45.2