[Erp5-dev] Zope's get_request()

Yoshinori Okuji yo at nexedi.com
Wed Nov 24 17:07:08 CET 2004


On Wednesday 24 November 2004 16:53, Alexandre Boeglin wrote:
> What we do now is "pulling" get_request() from Localizer to
> ERP5Types.Utils, so from now, please use "from
> Products.ERP5Type.Utils import get_request" to access it.

This is one way. Another way is to make sure that ERP5Type is loaded 
before CMFActivity or ERP5Form (like "import ERP5Type in __init__.py). 
I don't know which is better.

YO
-- 
Yoshinori Okuji, Nexedi Research Director
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Free / Open Source ERP Software for small and medium companies
http://www.erp5.org
Storever: OpenBrick, WiFi infrastructure, notebooks and servers
http://www.storever.com



More information about the Erp5-dev mailing list