From 24d47f084803ed813c2f2149277732c61edcf93d Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Mon, 16 Apr 2018 16:22:38 +0200 Subject: [PATCH] Add page node_type to CUSTOM_VIEW_NODE_TYPES Due to the new templates, we do not need to embed pages in the project view anymore. --- pillar/web/utils/jstree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar/web/utils/jstree.py b/pillar/web/utils/jstree.py index 978ea4f4..d84372be 100644 --- a/pillar/web/utils/jstree.py +++ b/pillar/web/utils/jstree.py @@ -14,7 +14,7 @@ GROUP_NODES = {'group', 'storage', 'group_texture', 'group_hdri'} # Node types that shouldn't be embedded in the project view. # Rather those nodes have their own end point for viewing. # Such nodes should implement a finder in web/nodes/finders.py. -CUSTOM_VIEW_NODE_TYPES = {'blog'} +CUSTOM_VIEW_NODE_TYPES = {'blog', 'page'} log = logging.getLogger(__name__)