From e00e4698ead90aae7d4474beed7efcf97566b6f0 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Wed, 4 Nov 2015 16:22:23 +0100 Subject: [PATCH] Added status property to node_type Project --- pillar/manage.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pillar/manage.py b/pillar/manage.py index fa61d215..e164112a 100644 --- a/pillar/manage.py +++ b/pillar/manage.py @@ -456,6 +456,13 @@ def populate_node_types(old_ids={}): } } }, + 'status': { + 'type': 'string', + 'allowed': [ + 'published', + 'pending' + ], + }, # Logo 'picture_square': { 'type': 'objectid', @@ -520,6 +527,7 @@ def populate_node_types(old_ids={}): }, } }, + 'status': {}, 'nodes_featured': {}, 'nodes_latest': {}, 'nodes_blog': {}