Andreas Jung wrote:
--On 5. März 2008 10:21:32 +0100 Yuri <[EMAIL PROTECTED]> wrote:
I would like to define a class inside a python script (so I can catalog
it and use catalog to store info, as the tutorial about catalog
This is basically bad-style. Define your class somewhere in your
product code and if necessary make it available through related APIs
of the AccessControl module.
The class has not to be made available, just a "bridge" to catalog it.
For example, ZSQL method has a class file, so it is not a problem nor a
"bad style" to define it somewhere and use it internally.
what I need to do is my_catalog.catalog_object(an_object, 'path')
So I can index values and search for them, without having objects.
The idea is taken from here:
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -