From 9e9e7b82ca7230dea368fdbd35b61ac76d9677d4 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Mon, 12 Oct 2015 19:31:04 +0200 Subject: [PATCH] Hiding content_type and file form fields for editing --- pillar/manage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pillar/manage.py b/pillar/manage.py index cef0268a..e77d8184 100644 --- a/pillar/manage.py +++ b/pillar/manage.py @@ -583,8 +583,8 @@ def populate_node_types(old_ids={}): }, 'form_schema': { 'status': {}, - 'content_type': {}, - 'file': {}, + 'content_type': {'visible': False}, + 'file': {'visible': False}, }, 'permissions': { 'groups': [{