[Zope-DB] Using psycopg directly in Zope Python script

Andreas Jung lists at andreas-jung.com
Fri Jul 1 17:39:19 EDT 2005



--On 1. Juli 2005 23:28:51 +0200 Jørgen Frøjk Kjærsgaard 
<jfk at metation.com> wrote:

>
>
> Does Zope somehow create a restricted environment where opening a
> database connection is impossible? Is there a way to bypass that
> restriction?


That's a misuse of PythonScripts. They are not designed to handle such 
tasks. Use an external method or write a Zope product instead.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-db/attachments/20050701/4d36a990/attachment.bin


More information about the Zope-DB mailing list