If you can use import it is a module, not a model. A model in web2py
must be executed - by definition.

On May 2, 12:43 am, pbreit <pbreitenb...@gmail.com> wrote:
> This screams "import" to me.
>
> === default.py ===
> from myapp.models import db
>
> def index()
> ...

Reply via email to