[web2py] create an update page (similar to profile page in default application)

2014-07-02 Thread Shubham Jain
I want to create an update page just like profile page in default application. Actually I am passing the primary key of a table by a button click to the product_update page. In the controller of the update page I tried these 2 codes. def product_edit():

Re: [web2py] create an update page (similar to profile page in default application)

2014-07-02 Thread Fabiano Almeida
Need convert request to int: int(request.post_vars.pid) Fabiano. 2014-07-02 8:05 GMT-03:00 Shubham Jain shub.jain1...@gmail.com: I want to create an update page just like profile page in default application. Actually I am passing the primary key of a table by a button click to the