[web2py][book typo] book typo

2013-08-01 Thread Richard
Hello, I think I found a typo in book : This : auth_table.username.requires = IS_NOT_IN_DB(db, auth_table.username) Should read as this, I think : auth_table.username.requires = IS_NOT_IN_DB(db,* '*auth_table.username*'*) Chapter : 9, section : Customizing auth http://web2py.com/books/default/

[web2py] [book typo] simplesjson (sic)

2013-03-04 Thread Richard
gluon.contrib.simplesjson.dumps(a) At : http://web2py.com/books/default/chapter/29/10?search=simplejson#simplejson Richard -- --- 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,

Re: [web2py] book typo

2013-01-21 Thread Richard Vézina
Ok, nevermind then... I was with 2.3.2. Richard On Mon, Jan 21, 2013 at 12:57 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Both work with trunk code. > > > On Monday, 21 January 2013 09:56:43 UTC-6, Richard wrote: >> >> Hello, >> >> There is a typo in the book : {{=form.custom.d

Re: [web2py] book typo

2013-01-21 Thread Massimo Di Pierro
Both work with trunk code. On Monday, 21 January 2013 09:56:43 UTC-6, Richard wrote: > > Hello, > > There is a typo in the book : {{=form.custom.delete}} > At the end of the section custom form : > http://web2py.com/books/default/chapter/29/07#Custom-forms > Just above CSS Conventions. > > Shoul

[web2py] book typo

2013-01-21 Thread Richard
Hello, There is a typo in the book : {{=form.custom.delete}} At the end of the section custom form : http://web2py.com/books/default/chapter/29/07#Custom-forms Just above CSS Conventions. Should be : {{=form.custom.deletable}} Richard --

[web2py] Book typo

2012-07-29 Thread Johann Spies
I suppose res.updated in the documentation for *validate_and_insert, validate_and_update* in the book should be ret.updated Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) --

[web2py] book typo : Single paragraph should be split I think

2012-04-27 Thread Richard Vézina
Hello, I think there is multiple paragraph in this paragraph : keepvalues keepvalues The optional argument keepvalues tells web2py what to do when a form is accepted and there is no redirection, so the same form is displayed again. By default the form is cleared. If keepvalues is set to True, th

[web2py] Book typo

2012-04-05 Thread Johann Spies
Location: http://www.web2py.com/books/default/chapter/29/11#jQuery-and-Ajax In the reference to web2py_ajax.html: response.files.insert(1,URL('static','css/calenadar.css')) should be response.files.insert(1,URL('static','css/calendar.css')) Enter code here... Regards Johann

[web2py] Book Typo

2012-04-02 Thread Johann Spies
In this list in http://www.web2py.com/books/default/chapter/29/7?search=%25b %Y '1963' %y '63' %d '28' %m '08' %b 'Aug' %b 'August' %H '14' %I '02' %p 'PM' %M '30' %S '59' the second %b should be %B Regards Johann -- Because experiencing your loyal love is better than life itself,

[web2py] Book typo

2012-01-20 Thread Johann Spies
db(db.dog).select(dictinct = db.dog.name[:3]) should be db(db.dog).select(distinct = db.dog.name[:3]) Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3)

[web2py] Book typo

2011-11-27 Thread Johann Spies
In http://www.web2py.com/book/default/chapter/06?search=form.process ret = db(query).vaidate_and_update(field='value') should probably be ret = db(query).validate_and_update(field='value') Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise

[web2py] book typo or bizzard explanation...

2011-11-14 Thread Richard
Hello, In the book section : http://web2py.com/book/default/chapter/06?search=update#update_record We talk about single record... But command 1 is not selecting a single record so if there is other id then 3 (4, 5, 6, etc.) there will be a error in what we expect to update... Book extract : up

[web2py] Re: Web2py Book typo? Database-Validators: IS_EMPTY_OR

2011-09-07 Thread juanduke
Hi, Villas: When I report the typo, I was reading the online version of the book. Also, I'm still reading the typo, (recently refreshed page), maybe something is caching, I'll retry later. Bye. On 7 sep, 12:10, villas wrote: > You are right,  it is really a typo but I see it has already been co

[web2py] Re: Web2py Book typo? Database-Validators: IS_EMPTY_OR

2011-09-07 Thread villas
You are right, it is really a typo but I see it has already been corrected in the online version of the book. http://web2py.com/book/default/chapter/07#Validators The online version has had many corrections and additions since the printed book was published a year ago, and it is therefore m

[web2py] Re: Web2py Book typo? Database-Validators: IS_EMPTY_OR

2011-09-07 Thread juanduke
Thanks for the reply Bruno. I tryied both ways, and works perfectly. But, if the book says that IS_NULL_OR is deprecated, don't you think, it will be better to show a "un-deprecated" example? IMHO will be less confusing. bye. PS: sorry again for my bad english. On 7 sep, 10:43, Bruno Rocha wro

Re: [web2py] Web2py Book typo? Database-Validators: IS_EMPTY_OR

2011-09-07 Thread Bruno Rocha
Both will work. http://zerp.ly/rochacbruno Em 07/09/2011 10:36, "juanduke" escreveu: > Hi! > Reading the validators section, it says: > > IS_NULL_OR > Deprecated, an alias for IS_EMPTY_OR described below. > > IS_EMPTY_OR > Sometimes you need to allow empty values on a field along with other > req

[web2py] Web2py Book typo? Database-Validators: IS_EMPTY_OR

2011-09-07 Thread juanduke
Hi! Reading the validators section, it says: IS_NULL_OR Deprecated, an alias for IS_EMPTY_OR described below. IS_EMPTY_OR Sometimes you need to allow empty values on a field along with other requirements. For example a field may be a date but it can also be empty. The IS_EMPTY_OR validator allows

[web2py] book typo

2011-02-07 Thread Richard Vézina
Hello, "," is missing : db.define_table('dog', Field ('small_image', 'upload'), # here Field ('large_image', 'upload')) In this page : http://web2py.com/book/default/chapter/08?search=shell S

[web2py] book typo

2011-01-25 Thread Richard Vézina
Hello, I think it miss a "L" in : If cid is specified, the linked page is loaded via Ajax. The cid is the id of the html element where to place the loaded page content. In this case we set it to request.cid, i.e. the id of the component that generates the ink. The linked page can be and usually i

[web2py] book: typo + proposal

2010-08-14 Thread Jurgis Pralgauskis
1) at http://web2py.com/book/default/chapter/06#orderby,-groupby,-limitby,-distinct there's said: You can fetch the records sorted by name in reverse order (**notice the tilde**): >>> for row in db().select(db.person.ALL, orderby=db.person.name): print row.name , but I don't see the til

[web2py] book typo

2010-07-27 Thread Jean-Guy
This page : http://web2py.com/book/default/section/6/8?search=export+ Search in the page for : qoute Should be quote?!

[web2py] Book typo: 9.2. Remote Procedure Calls

2010-03-24 Thread Rowdy
Greetings, There is a typo in the example for XMLRPC in section 9.2 of the (online) book. The example method: @service.xmlrpc def div(a,b): return a+b should be: @service.xmlrpc def div(a,b): return a/b Rowdy -- You received this message because you are subscribed to the Google Gr