From 8f311b8a10c8084893e8a0ae3e3e3e6c694121ec Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Fri, 30 Oct 2015 15:23:51 +0100 Subject: [PATCH] Updated migration to support nodes_blog in Project node type --- pillar/manage.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pillar/manage.py b/pillar/manage.py index 6c0a2ba1..fa61d215 100644 --- a/pillar/manage.py +++ b/pillar/manage.py @@ -494,6 +494,13 @@ def populate_node_types(old_ids={}): 'schema': { 'type': 'objectid', } + }, + # Latest blog posts, manually added + 'nodes_blog': { + 'type': 'list', + 'schema': { + 'type': 'objectid', + } } }, 'form_schema': { @@ -514,7 +521,8 @@ def populate_node_types(old_ids={}): } }, 'nodes_featured': {}, - 'nodes_latest': {} + 'nodes_latest': {}, + 'nodes_blog': {} }, 'permissions': { 'groups': [{