[Grok-dev] schema.List returns a list, but is it persistent?

Kevin Teague kevin at bud.ca
Fri Aug 28 13:40:26 EDT 2009

I think instead of writing this:

  tags = schema.List(title=u"Content Tags", default = [])

You could write this?

  tags = schema.List(title=u"Content Tags", default =

This is simpler than making a new schema field type. Not 100% sure how
it works with applyData, but I think it should work? Annoyingingly
though, the above will throw a WrongType error, but it does look like
a fix was proposed for this (no one objected, but it also looks like
the fix wasn't made either):


More information about the Grok-dev mailing list