[web2py] Re: trouble with @auth.requires_login() in wiki app from manual

2012-03-19 Thread Monte Milanuk
Ack. Well that would explain why it only caused a problem in the one spot! Thanks for the assistance! Monte On Sunday, March 18, 2012 4:10:49 PM UTC-7, Anthony wrote: > > As Alan suggests, you slightly mis-copied the code from the book -- it > should be: > > @auth.requires_login() > def doc

[web2py] Re: trouble with @auth.requires_login() in wiki app from manual

2012-03-18 Thread Anthony
As Alan suggests, you slightly mis-copied the code from the book -- it should be: @auth.requires_login() def documents(): Note the parentheses. Anthony On Sunday, March 18, 2012 6:21:54 PM UTC-4, Monte Milanuk wrote: > > Hello, > > Working my way thru the wiki app demo in the online manual...

[web2py] Re: trouble with @auth.requires_login() in wiki app from manual

2012-03-18 Thread Alan Etkin
If I recall correctly, auth.requires_login should be auth.requires_login() for basic authentication On 18 mar, 19:21, Monte Milanuk wrote: > Hello, > > Working my way thru the wiki app demo in the online manual... I kept > getting a weird error like this: > > Traceback (most recent call last):>