[Zope-dev] Calling Catalog from python script

Steve Alexander steve@cat-box.net
Wed, 14 Feb 2001 22:48:14 +0000


richard@bizarsoftware.com.au wrote:

 > "R. David Murray" wrote:

 >> catent.getobject()
 >>
 >> That would seem to be a lot more OOish.

In 2.3 you can call catent.getObject(). You can pass an optional REQUEST 
in as an argument, to support lookup via resolve_url rather than 
restrictedTraverse.

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net