because now web.input() returns unicode values.
> ps app.internalerror = web.debugerror doesn't work for me
it is set to debugerror if web.config.debug is set to True.
If you want custom notfound message, see:
http://webpy.org/cookbook/custom_notfound
Looks like it is not straight forward to set internalerror to
debugerror when web.config.debug=True.
This is how it should be done:
def debugerror():
return web.notfound(web.djangoerror())
app.internalerror = debugerror
Looks like web.debugerror and web.emailerrors should change to return
instance of web.notfound error.
Oops. it should be internalerror, not notfound.
def debugerror():
return web.internalerror(web.djangoerror())
app.internalerror = debugerror
Done!