[Zope-dev] problems setting up methods for a product that
registers no classes
Chris Withers
chris at simplistix.co.uk
Fri Sep 30 09:17:56 EDT 2005
Dieter Maurer wrote:
> You could use part of the old style initialization, the "methods"
> declaration to be precise.
>
> You see an example in ".../Products/ZSQLMethods/__init__.py".
>
> Be warned, however: the old style initialization puts
> the declared methods on the "OFS.Folder" class.
Yeah, I thought about that, but it sux for the reasons you gave.
I've found a similar solution to what's currently there which works in
both 2.7 and 2.8, so I'll make a new release sometime soon...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope-Dev
mailing list