[Zope-dev] How to create instance of a Zclass w/ python script ??

Nicolas LAURANCE nicolas.laurance@expert-rh.com
Thu, 24 Oct 2002 17:40:46 +0200


Hello Zopers !

Here's my situation

I created a very basic products wich holds a Zclass. (Contact)

I want to create many instances in one shot, so I wrote a small python
script (no external method) to set the properties.

The thing is I don't seem able to trigger the creation of the object

Tried:
Contact.CreateinObjectManager(id,REQUEST) => no
Products.Contact.CreateinObjectManager(id, REQUEST) => no

Any help appreciated