Going through the web2py book, and noticed an error on this page:

http://web2py.com/books/default/chapter/29/3

def find_by(keyword):
     "finds pages that contain keyword for XML-RPC"
     return db(db.page.title.contains(keyword).select().as_list()


should be:

def find_by(keyword):
     "finds pages that contain keyword for XML-RPC"
     return db(db.page.title.contains(keyword)).select().as_list()


Just thought this might be the best place to get this noticed. If not let me 
know, and I'll use the appropriate means next time.

Reply via email to