[Zope] testing for "REQUEST is not None"

Geir Bækholt Geir Bækholt
Thu, 7 Nov 2002 10:05:33 +0100


Hello Willem,
Thursday, November 7, 2002, 4:23:36 AM, you wrote:

WB> Thanks, but that part I understand.
WB> I should have asked: in what case would REQUEST be such a thing, instead 
WB> of a Request instance?

if the method was called directly from somewhere , not through the
web..

- so that , if you for instance are adding objects programmatically,
will not be redirected to manage_main...

:)


-- 
Geir Bækholt        geir@funcom.com
Tools/HCI-developer
Tools/Billing - Product Operations
Funcom Oslo