[Product-Developers] ImportError using new Product

Hedley Roos hedleyroos at gmail.com
Mon Sep 8 17:40:50 UTC 2008


Python Scripts can only run restricted Python. You must allow the
module using allow_module. CMFPlone/__init__.py has good examples and
should suffice.

You basically have to do
allow_module('Products.OpenFlashChart.GraphObject') in your product's
__init__.py.

Hedley




More information about the Product-Developers mailing list