Can you help me debug this?

Do you get the error when you check the "delete" box or when you do
not?

In line 1093 of gluon/sqlhtml.py

can you change

   if requested_delete and self.custom.deletable

into

   if requested_delete and self.custom.deletable!=''

do you still get the error below?


On Apr 27, 8:54 pm, toan75 <[email protected]> wrote:
> My controller:
>
> def crud1():
>     form = crud.update(db.container,request.args(0),deletable=True)
>     if form.accepts(request.vars, session):
>         pass
>     return dict(form=form)
>
> I have web2py 1.95.1, Python 2.7 & OS Win7 Home

Reply via email to