[web2py] Re: Restricting dropdown options in SQLFORM.grid in queries on hierarchical tables.

2012-09-17 Thread Mandar Vaze
What I have done as a workaround is as follows : def View(): if request.args(0) in ['edit']: redirect(URL('controller', 'myEdit', args=request.args,

Re: [web2py] Re: Restricting dropdown options in SQLFORM.grid in queries on hierarchical tables.

2012-09-17 Thread Michael Ellis
Thanks, Mandar. That looks promising. If I come up with any improvements, I'll share them here. Cheers, Mike On Mon, Sep 17, 2012 at 9:12 AM, Mandar Vaze mandarv...@gmail.com wrote: What I have done as a workaround is as follows : def View(): if request.args(0) in ['edit']: