-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Orr wrote: > The only reason this came up is that > the root object is a PersistentDict and is not overridable. I still > suggest a > callable arg in the storage constructor that if present returns an > initialized root object (any subclass of PersistentObject) to seed the > database if it doesn't exist. This both allows for an alternate root > class and provides a convenient place to put your database-setup code; > e.g., to set up the empty collections needed by the rest of the > application. +1. - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea@argo.es http://www.argo.es/~jcea/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/_/_/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRUeHjZlgi5GaxT1NAQJo/gP9Hx7y2LuaKrtH0QQI9HTrYKKh2ndE2abD wMyTs3JuMQvbk5LUNgKXlO42uVFI+pCQmy5DuEbLdftwDD0gqME4279URTWUgmJ9 rCNCivEMlPCt5pj93HYjdfqtzHYpfpW9Clx6pzJyGWuJwKIGrZ2/6IWZtg2YKkWJ K1ZvWUTkQF0= =bWEW -----END PGP SIGNATURE-----