Massimo
Massimo
import amf_accounts
import amf_scoring
but the amf.py controller is not imported, it is executed. Therefore
it has no knowledge of its location and the two import above are not
resolved in the controllers folder.
You need to do the usual:
import applications.yourapp.controllers.amf_accounts as amf_accounts
I would put them in modules not in controllers anyway since that
would not buy you anything.
Massimo
On Apr 30, 2008, at 12:50 PM, voltron wrote:
execfile(path_to_module_with_py)