[Zope-CMF] ToolInit deprecation warnings
fairwinds at eastlink.ca
Sat Jul 23 13:21:53 EDT 2005
Hi. When I start up zope I am getting deprecation warnings for
ToolInit in a number of products.
DeprecationWarning: The product_name parameter of ToolInit is
deprecated and will be ignored in CMF1.6: kupu
I checked with CMFDefault to see it there was a different class to use
but it is as follows:
from Products.CMFCore.utils import ToolInit
ToolInit( 'CMF Default Tool'
).initialize( context )
What should I be using instead of ToolInit so that code is more
futureproof and to avoid the deprecation warnings.
More information about the Zope-CMF