I forgot: it's Version 1.99.0 (2011-09-20 03:52:08) 2011/9/20 Martin Weissenboeck <mweis...@gmail.com>
> I wanted to play with other login methods. Therefore I created a new > application called "alt_login" - it started with no problems. > > Next step: I copied the definition of my own "auth_table" from the book > into alt_login. > Here are the lines of code: > ... > > Traceback (most recent call last): > File "/etc/web2py/gluon/restricted.py", line 194, in restricted > > > exec ccode in environment > File "/etc/web2py/applications/alt_login/models/db.py" > <https://secure.infosms.org:8000/admin/default/edit/alt_login/models/db.py>, > line 56, in <module> > > > IS_NOT_EMPTY(error_message=auth.messages.is_empty) > > NameError: name 'auth_table' is not defined > > > I have tried it without the line "auth.define_tables()" - same result. > Any ideas? > Regards, Martin >