[Zope3-Users] How i can get IRequest

FB fbo2 at gmx.net
Tue Apr 17 14:36:49 EDT 2007


Hi,

On Tue, Apr 17, 2007 at 08:55:02PM +0400, Garanin Michael wrote:
> Hello!
> How i can get IRequest in my event handler (i has only context)?

from zope.security.management import getInteraction
request = getInteraction().participations[0]

Regards,

Frank


More information about the Zope3-users mailing list