On 26 November 2010 18:37, mdipierro wrote:
> Add a line:
>
> def fpn0303_create():
>table=db.fpn0303
>crud.settings.keepvalues = True
>form=crud.create(db.fpn0303,onaccept=lambda form:
> show_id (form.vars.id))
> response.flash=repr(form.errors)
>return di
Add a line:
def fpn0303_create():
table=db.fpn0303
crud.settings.keepvalues = True
form=crud.create(db.fpn0303,onaccept=lambda form:
show_id (form.vars.id))
response.flash=repr(form.errors)
return dict(form=form)
to see why the data does not go in DB. Ther
2 matches
Mail list logo