From 5d6327844bfa0c6695100274674531977ea2f4e1 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Wed, 14 Oct 2015 01:38:59 +0200 Subject: [PATCH] New nodes_latest and nodes_featured for project node type --- pillar/manage.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pillar/manage.py b/pillar/manage.py index ce9bc051..ebfacd7b 100644 --- a/pillar/manage.py +++ b/pillar/manage.py @@ -481,6 +481,20 @@ def populate_node_types(old_ids={}): 'summary': { 'type': 'string', 'maxlength': 128 + }, + # Latest nodes being edited + 'nodes_latest': { + 'type': 'list', + 'schema': { + 'type': 'objectid', + } + }, + # Featured nodes, manually added + 'nodes_featured': { + 'type': 'list', + 'schema': { + 'type': 'objectid', + } } }, 'form_schema': { @@ -502,6 +516,8 @@ def populate_node_types(old_ids={}): }, } }, + 'nodes_featured': {}, + 'nodes_latest': {} }, 'permissions': { 'groups': [{