[Zope-dev] Persistence
Jim Fulton
jim@digicool.com
Fri, 27 Aug 1999 15:50:06 -0400
Paul Prescod wrote:
>
> I think that this:
>
> http://www.zope.org/Documentation/Reference/ObjectPublishingIntro
>
> is out of date, right? BoboPOS no longer has "PickleDictionary". It
> would be great if this document could be updated with a message: "this
> info is a little out of date. Please see blah."
Good idea.
> Zope really doesn't like what I came up with through hacking around:
>
> def doit( state="Texas", city="Dallas"):
> connection = Globals.DB.open()
> states=[]
>
> connection.root()["abc"]="def"
>
> return "foo"
How did you execue this? What error did you get?
BTW, you should close the connection when your done with it.
Jim
--
Jim Fulton mailto:jim@digicool.com Python Powered!
Technical Director (888) 344-4332 http://www.python.org
Digital Creations http://www.digicool.com http://www.zope.org
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission. Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.