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.
This commit is contained in:
Francesco Siddi 2018-04-16 16:22:38 +02:00
parent 505e3c3a6d
commit 24d47f0848

View File

@ -14,7 +14,7 @@ GROUP_NODES = {'group', 'storage', 'group_texture', 'group_hdri'}
# Node types that shouldn't be embedded in the project view. # Node types that shouldn't be embedded in the project view.
# Rather those nodes have their own end point for viewing. # Rather those nodes have their own end point for viewing.
# Such nodes should implement a finder in web/nodes/finders.py. # 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__) log = logging.getLogger(__name__)