[web2py] Re: Error in web2py book for auth.login_bare

2012-05-22 Thread Anthony
Fixed in the book. Anthony On Tuesday, May 22, 2012 6:45:35 PM UTC-4, Luca wrote: > > In http://web2py.com/books/default/chapter/29/9 it is stated that > auth.login_bare returns None if the username/password pair is invalid. > auth.login_bare actually returns False, not None. > I guess most pe

[web2py] Re: Error in web2py book for auth.login_bare

2012-05-22 Thread pbreit
Certainly the book should be fixed (or the code if that's a bug) but good reminder to almost always use "truth-i-ness and false-i-ness" (ie, "if user", "if not user", etc.).

[web2py] Re: Error in web2py book

2010-12-21 Thread mdipierro
thanks. On Dec 21, 3:17 am, cjrh wrote: > On Dec 21, 4:26 am, Martin H wrote: > > > It should be the other way around: > > > where 3,4,5 are replicated servers and 1,2,3 are slaves. > > Fixed. > > > The section should also be changed to: Using Replicated Database Servers > > OR Using Replicated

[web2py] Re: Error in web2py book

2010-12-21 Thread cjrh
On Dec 21, 4:26 am, Martin H wrote: > It should be the other way around: > > where 3,4,5 are replicated servers and 1,2,3 are slaves. Fixed. > The section should also be changed to: Using Replicated Database Servers > OR Using Replicated Databases Fixed. Many thanks for your keen eyes!