I am trying to figure out how to delete an object in Zope given a path.
Using restrictedTraverse I’m able to get the object by its path. I then want to delete this object.
I’m assigning the result to ‘obj’ as shown here:
obj = context.restrictedTraverse('webcasts/courses/temp')
The goal here is to be able to delete ‘temp’ by giving it a path.
Any help is greatly appreciated.
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )