title: web2py Can't import run functions from imported module
body: <p>I'm trying to import external modules into my controller code for a web2py application. The module I'm importing is located in myapp/modules and seems to import fine. However, it doesn't let me call any of the functions defined in there; gives the following error 
  <strong> 'module' object has no attribute 'testfunc'</strong></p>
  
  <p>I'm importing like this:</p>
  
  <pre><code>import json_utils as u
  </code></pre>
  
  <p>And calling like this:</p>
  
  <pre><code>u.testfunc()
  </code></pre>
  
  <p>Am I missing something obvious here? I have tried stop/starting the server in case its not reloaded the file.</p>
  
  <p>Cheers</p>
  
  <p>EDIT: Here is the entire json_utils.py file:</p>
  
  <pre><code>def testfunc():
      return 3
  
  def testfunc2():
      # some stuff
      return 5
  </code></pre>