2012-08-03 48 views

回答

4

How to remove an inherited field from a new content type所述:您可以將該部件設置爲不可見進行編輯和查看。

YourSchema['FieldName'].widget.visible = {'view': 'hidden', 'edit':'hidden' } 

和如果原始架構所需的字段,您還需要

YourSchema['FieldName'].required = False