From 4f6c0e27cebee2ef6992526fa50561082e931f4c Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Thu, 15 Oct 2015 14:49:15 +0200 Subject: [PATCH] Added url to post node properties --- pillar/manage.py | 6 +++++- pillar/settings.py | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pillar/manage.py b/pillar/manage.py index 181b72e9..21a4652d 100644 --- a/pillar/manage.py +++ b/pillar/manage.py @@ -744,7 +744,7 @@ def populate_node_types(old_ids={}): } }, 'form_schema': { - 'url': {}, + 'categories': {}, 'template': {}, }, 'parent': { @@ -783,11 +783,15 @@ def populate_node_types(old_ids={}): 'category': { 'type': 'string', }, + 'url': { + 'type': 'string' + } }, 'form_schema': { 'content': {}, 'status': {}, 'category': {}, + 'url': {} }, 'parent': { 'node_types': ['blog',] diff --git a/pillar/settings.py b/pillar/settings.py index 88740a7c..6e41e429 100644 --- a/pillar/settings.py +++ b/pillar/settings.py @@ -478,7 +478,6 @@ files = { 'schema': files_schema } - groups = { 'resource_methods': ['GET', 'POST'], 'public_methods': ['GET'],