delete content type from python
Alain Hernandez Lopez
ahernandezlop at estudiantes.uci.cu
Sun Apr 29 02:26:52 UTC 2007
Hello
I'm developing a product in which I need to create and delete content
types from python. Now, to create a content type I use this method.
#crear una carpeta.
container = self
container.invokeFactory(type_name="Folder", id=id)
container[id].edit(title=title, description=description)
But in any moment I'll need to delete it, and that's de problem because
I don't know how to do that.
Please if can help me
Excuse my English
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20070428/56fc70b4/attachment-0002.html>
More information about the Product-Developers
mailing list