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.
If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!
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.
0
chen 11 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.