[web2py] Typo in Book app

2013-05-29 Thread Johann Spies
In the section "Other methods"/update_or_insert: The selection criteria in the exmaple above is a single field. It can also be a query, such as |db.person.update_or_insert((db.person.name=='John') & (db.person.birthplace=='Chicago')), name='John',birthplace='Chicago',pet='Rover') | |T

[web2py] typo in book

2012-06-08 Thread Robin Wood
I think I've just found a typo in the official book. Page http://web2py.com/books/default/chapter/29/3 In a grey box there is this sentence If an extension other than "html" is specified ("json" for example), and the view file "[controller]/[function].json" is not found, web2py looks for the vie

[web2py] typo in book

2011-12-19 Thread Jim Steil
First sentence of the last paragraph in the preface. 'raked' should be 'ranked'. -Jim