You're missing a return locals()

def updateAgenda():

    def PUT(id):
        data = json(
        ret = db( 
 == id]).update(**data)
        return ret
    return locals() # the restful decorator uses this dictionary to get the 
correct function for each method

- (Documentation)
- (Source code)
- (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 
For more options, visit

Reply via email to