[web2py] Re: Best practice to check for raw_args

2016-12-31 Thread LoveWeb2py
Thank you! On Saturday, December 31, 2016 at 8:56:26 AM UTC-5, Anthony wrote: > > On Friday, December 30, 2016 at 8:26:08 PM UTC-5, LoveWeb2py wrote: >> >> Hi Stifan, >> >> Thank you for replying again. >> >> Is the best way to check for that in the controller? The book says it's >> best to hand

[web2py] Re: Best practice to check for raw_args

2016-12-31 Thread Anthony
On Friday, December 30, 2016 at 8:26:08 PM UTC-5, LoveWeb2py wrote: > > Hi Stifan, > > Thank you for replying again. > > Is the best way to check for that in the controller? The book says it's > best to handle calls in the controller, but just confirming on the forum. > It is generally recommend

[web2py] Re: Best practice to check for raw_args

2016-12-30 Thread LoveWeb2py
Hi Stifan, Thank you for replying again. Is the best way to check for that in the controller? The book says it's best to handle calls in the controller, but just confirming on the forum. On Friday, December 30, 2016 at 7:27:00 PM UTC-5, LoveWeb2py wrote: > > Hello, > > I'm wondering if it's

[web2py] Re: Best practice to check for raw_args

2016-12-30 Thread 黄祥
why not use if condition to check args that meet with ur requirements? e.g. # if not sure about args value if 'args' in request.args: # bla bla # if sure about args value if request.args == 'args': # bla bla best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Docume