Re: [web2py] auth=Auth(globals(),db)

2012-03-12 Thread Richard Vézina
Thanks! :) Richard On Mon, Mar 12, 2012 at 3:01 PM, Anthony wrote: > On Monday, March 12, 2012 2:33:44 PM UTC-4, Richard wrote: >> >> Are those also part of current now? >> service=Service(globals()) >> mail = Mail(globals()) >> > > Yes for Service; doesn't apply for Mail. >

Re: [web2py] auth=Auth(globals(),db)

2012-03-12 Thread Anthony
On Monday, March 12, 2012 2:33:44 PM UTC-4, Richard wrote: > > Are those also part of current now? > service=Service(globals()) > mail = Mail(globals()) > Yes for Service; doesn't apply for Mail.

Re: [web2py] auth=Auth(globals(),db)

2012-03-12 Thread Richard Vézina
Are those also part of current now? service=Service(globals()) mail = Mail(globals()) Richard On Mon, Mar 12, 2012 at 2:31 PM, Richard Vézina wrote: > Thanks Anthony. > > Richard > > > On Mon, Mar 12, 2012 at 2:29 PM, Anthony wrote: > >> auth=Auth(globals(),db) >>> crud=Crud(globals(),db) >>>

Re: [web2py] auth=Auth(globals(),db)

2012-03-12 Thread Richard Vézina
Thanks Anthony. Richard On Mon, Mar 12, 2012 at 2:29 PM, Anthony wrote: > auth=Auth(globals(),db) >> crud=Crud(globals(),db) >> > > The above will still work, but globals() will simply be ignored, as it is > no longer required (instead, the Auth and Crud classes now use the > "current" object t

Re: [web2py] auth=Auth(globals(),db)

2012-03-12 Thread Anthony
> > auth=Auth(globals(),db) > crud=Crud(globals(),db) > The above will still work, but globals() will simply be ignored, as it is no longer required (instead, the Auth and Crud classes now use the "current" object to access the relevant global environment objects). Anthony

[web2py] auth=Auth(globals(),db)

2012-03-12 Thread Richard
Hello, I notice that in the book auth table customisation explication has changed... I would like to know if this still good : auth=Auth(globals(),db) crud=Crud(globals(),db) Since in the book it is now just : auth = Auth(db) Thank you. Richard