If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 0
    chen  8 years ago

    Hi,

     

    I just tried ur example.  But I found that we actually dont need to import the model.

     

    If we add the import statement, it gives error in importing instead.

Commented on:

Models are a very special web2py feature, but they like as scripts running on every request. Now with modules we can improve web2py performance with a more Pythonic code base.

Hosting graciously provided by:
Python Anywhere