[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')

|

|The brackets are unbalanced.|

||

|Regards|

|Johann|


||

--
Johann SpiesTelefoon: 021-808 4699
Databestuurder /  Data manager  Faks: 021-883 3691

Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie
Centre for Research on Evaluation, Science and Technology
Universiteit Stellenbosch.

 "Let no man despise thy youth; but be thou an example
  of the believers, in word, in conversation, in
  charity, in spirit, in faith, in purity."
   I Timothy 4:12


E-pos vrywaringsklousule

Hierdie e-pos mag vertroulike inligting bevat en mag regtens geprivilegeerd 
wees en is slegs bedoel vir die persoon aan wie dit geadresseer is. Indien u 
nie die bedoelde ontvanger is nie, word u hiermee in kennis gestel dat u 
hierdie dokument geensins mag gebruik, versprei of kopieer nie. Stel ook 
asseblief die sender onmiddellik per telefoon in kennis en vee die e-pos uit. 
Die Universiteit aanvaar nie aanspreeklikheid vir enige skade, verlies of 
uitgawe wat voortspruit uit hierdie e-pos en/of die oopmaak van enige lês 
aangeheg by hierdie e-pos nie.

E-mail disclaimer

This e-mail may contain confidential information and may be legally privileged 
and is intended only for the person to whom it is addressed. If you are not the 
intended recipient, you are notified that you may not use, distribute or copy 
this document in any manner whatsoever. Kindly also notify the sender 
immediately by telephone, and delete the e-mail. The University does not accept 
liability for any damage, loss or expense arising from this e-mail and/or 
accessing any files attached to this e-mail.

--

--- 
You received this message because you are subscribed to the Google Groups "web2py-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[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 view "generic.json".

Shouldn't the view file be in views not controller?

Robin


[web2py] typo in book

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


-Jim