Re: [web2py] Delete Query Not Working

2014-07-15 Thread Shubham Jain
No, I hadn''t. But it worked on turning it on. Thanks But I don't get it. Record versioning just creates an archived db for the modifications done. So how this feature being disabled is restricting me from deleting a record ?? *Shubham Jain* 3rd Year, Software Engg Delhi Technolog

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

2014-07-03 Thread Shubham Jain
roducts(product_id=request.post_vars.pid), > fields=['product_id','price','pro_type','tags','category','description'])) > > Mind that the pid of the product you want to edit should not be a POST > parameter but a GET parameter. A

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

2014-07-03 Thread Shubham Jain
to the URL not to the posted > data. > > Massimo > > > > On Wednesday, 2 July 2014 06:05:31 UTC-5, Shubham Jain wrote: >> >> I want to create an update page just like profile page in default >> application. Actually I am passing the primary key of a ta

[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(): db.products.product_id.writable=FALSE

[web2py] Re: Create a database table on submission of a form

2014-07-02 Thread Shubham Jain
Thank you Massimo and Manuele.. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups

[web2py] Create a database table on submission of a form

2014-06-27 Thread Shubham Jain
I want to create a database table every time a form is submitted. The table name would be a data from a the field of form submitted. I tried to create the table by writing the db.define_table() code in the function in which the form is created (by SQLFORM), under the condition if form.proces