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
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
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
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
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
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
6 matches
Mail list logo