[Zope] Re: Subfolders of Extensions folder

Tino Wildenhain tino at wildenhain.de
Fri Apr 15 13:43:00 EDT 2005


Am Freitag, den 15.04.2005, 10:41 -0400 schrieb Tres Seaver:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Tino Wildenhain wrote:
> > Am Freitag, den 15.04.2005, 13:40 +0300 schrieb Vital Lobachevsky:
> > 
> >>Hi, all!
> >>
> >>Can I use the folders in Zope's "Extensions" folder to keep the External 
> >>Methods in more logical way?
> > 
> > 
> > iirc you can just create a directory
> > in Products and put your methods there.
> > You can then import it from here.
> > 
> > try with or without __init__.py in that
> > directory (can be empty)
> > 
> > and Products.yourproduct.yourmodule
> 
> I don't think the 'Products.' prefix should be there (at least, I never
> use it for "standard" products' EMs).
> 

Yes maybe. It was untested and to be fully explorated by
the reader :-)

Regards
Tino



More information about the Zope mailing list