[Zope3-Users] Re: are you one example to add a content component in root ZODB folder in interactive command ?

Philipp von Weitershausen philipp at weitershausen.de
Thu Sep 28 04:20:40 EDT 2006


KLEIN Stéphane wrote:
> are you one example to add a content component in root ZODB folder in
> interactive command because I don't understand how it work.

$ bin/debugzope
 >>> from worldcookery.recipe import Recipe
 >>> root['chicken'] = Recipe()
 >>> import transaction
 >>> transaction.commit()



More information about the Zope3-users mailing list