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,11 +142,14 @@ type_definition = {
'default' : [],
'isList' : 1,
},
# Content are subdocuments (ex. default_career)
'content' : { 'cast' : identity,
'null' : ('', 'None', None,),
'default' : None,
'isList' : 0,
},
# Object are properties of any type (ex. data)
# and are considered as simple properties
'object' : { 'cast' : identity,
'null' : ('', 'None', None,),
'default' : None,
......
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