[Zope] transaction commit inside a Python Script?

Richard Jones rjones@ekit-inc.com
Fri, 6 Sep 2002 16:54:41 +1000


On Fri, 6 Sep 2002 3:45 pm, Andy McKay wrote:
> Add:
>
> ModuleSecurityInfo('Transaction').declarePublic('get_transaction')
>
> to your PythonScript security file blah and then you can do:
>
> import ZODB
> ZODB.Transaction.get_transaction()
>
> Will waiting for a the posts to tell me why this is bad, heres another way
> http://www.zopelabs.com/cookbook/1000910877

Thanks!


    Richard