For example:

def update_comment():
    form=crud.update(db.comment, request.args(0))
    retur dict(form=form)

where args(0) does not exist in the database.


On Jul 11, 5:51 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> What kind of exceptions?
>
> On Jul 11, 7:04 am, Vidul <vidul.pet...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > Auth and CRUD are amazing, no doubt, but is there a best practice for
> > the exception handler / ing of read / create / update / delete
> > actions?
>
> > Thank you!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to