[Grok-dev] schema.List returns a list, but is it persistent?
Sebastian Ware
sebastian at urbantalk.se
Wed Aug 26 10:56:29 EDT 2009
Lists need to be implemented as PersistentList in order to be
automatically persisted to ZODB, however schema.List returns an
ordinary list and applyData seemingly stores this list as is. Isn't
this a big problem?
tags = schema.List(title=u"Content Tags",
value_type=schema.Choice(title=u"Content Tag",
vocabulary='Content Tags'), default = [])
Mvh Sebastian
More information about the Grok-dev
mailing list