13 Dec
2003
13 Dec
'03
7:43 p.m.
Michael Hartl wrote at 2003-12-12 13:39 -0800:
I'm having trouble getting Zope to refresh modules imported into my external methods.
Zope's "refresh" works only on products. Your options: * create a refreshing External Method that uses Python's "reload" to reload modules or removes the module from "sys.modules". * move your modules into a Product and refresh this product using Zope's "refresh". In both cases, you will need to refresh your External Method explicitly after you reloaded/refreshed your module (by clicking its "Save" button). -- Dieter