Did you turn on versioning? Can you post a traceback?
On Friday, July 11, 2014 3:21:14 PM UTC+8, samurai wrote: > > As both Manuele and Leonel said, I changed it to args(0). But no use. It > was still not working. > > I actually changed a bit and now I am getting 'd' by get.vars. > > def pro_del(): > d = request.get_vars.d > db(db.products.product_id == d).delete() > session.flash = "Product Deleted" > redirect(URL('default','index')) > #return locals() > > Now also everything is working fine except the delete query. > Note: I am redirecting and appending the vars by using a javascript > function on the view side. If it has to do something with this problem. > > -- 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-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.