Hello Uolter,

the use of exec_environment is really discouraged and rarely needed.
moreover cas is now integrated with web2py in gluon/contrib/
login_methods.

Before we do this... what do you need to do?

Massimo


On Nov 3, 3:52 pm, Uolter <[email protected]> wrote:
> Can someone help me with the Execution Environment?
>
> Is the example on the book correct?
>
> I'm talking about:
>
> from gluon.shell import exec_environment
> cas = exec_environment('applications/cas/models/db.py')
> rows = cas.db().select(cas.db.user.ALL)
>
> I gave it a go, but cas application does not exist anymore.
>
> Cheers
>
> Uolter

Reply via email to