Commit 831df572 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Comments should make the difference between object and content clearer

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10506 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b900913e
...@@ -142,12 +142,15 @@ type_definition = { ...@@ -142,12 +142,15 @@ type_definition = {
'default' : [], 'default' : [],
'isList' : 1, 'isList' : 1,
}, },
'content' : { 'cast' : identity, # Content are subdocuments (ex. default_career)
'content' : { 'cast' : identity,
'null' : ('', 'None', None,), 'null' : ('', 'None', None,),
'default' : None, 'default' : None,
'isList' : 0, 'isList' : 0,
}, },
'object' : { 'cast' : identity, # Object are properties of any type (ex. data)
# and are considered as simple properties
'object' : { 'cast' : identity,
'null' : ('', 'None', None,), 'null' : ('', 'None', None,),
'default' : None, 'default' : None,
'isList' : 0, 'isList' : 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment