[google-appengine] Re: Storing properties dict as db.Model field

2010-12-17 Thread Colin Hawkett
http://stackoverflow.com/questions/3203543/how-to-make-persistent-a-python-dictionary-on-google-appengine/3203672#3203672

I'm still pretty convinced my answer was the best - especially since it 
borrows nick johnson's code :) Cheers,

Colin

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Storing properties dict as db.Model field

2010-12-16 Thread Tim Hoffman
I think there is no approved way.

Which method will depend heavily on what you are sticking in your dict, how 
big it is etc..

I personally pickle dicts and stick them in a BlobProperty ;-)

T


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.