Since your data aren't too large, why not store them as a json string? I haven't tried it yet, but seems like another very simple way to go. Not as compact as pickle, but more web2py-ish IMHO.
On Feb 23, 6:48 pm, Richard <richar...@gmail.com> wrote: > if you are on GAE then you can simply use: > > from gluon.contrib.gql import gae > Field('name', gae.StringListProperty()) > > On Feb 18, 2:47 am, Carl <carl.ro...@gmail.com> wrote: > > > > > I have a Python list that I want to store and retrieve from the data > > store. > > > The individual items of the list are of no use unless used with the > > items of the complete list and there are no use-cases requiring > > searching for a specified list item. The number of items in the list > > is between one and fifteen (any more is beyond end users to manage). > > > I'd like to store and retrieve the list in a single field. On > > retrieval the data would be in a Python list object. > > > What's an approach I can use?- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.