[Zope] Renaming objects in the ZODB

kapil thangavelu kthangavelu@earthlink.net
Wed, 10 Apr 2002 14:23:07 -0700


On Tuesday 09 April 2002 01:46 pm, Sean McGrath wrote:
> I need to find a way to rename objects in the ZODB while Zope is not
> running. i.e. by importing and manipulating the ZODB directly.
> Nothing immediately jumps out at me from looking at the ZODB HowTo
> and other materials.
>
> Any pointers?

cd lib/python/

python
> import Zope
> app = Zope.app() # the app var is your root folder
> # manipulate some objects
> get_transaction().commit()

cheers

kapil