There were discussions about customizing notfound message earlier in
the group[1].
However, it wasn't very clean way.

[1]: http://groups.google.com/group/webpy/browse_thread/thread/8a35f2ccfde5d7a

I have improved the way to specify custom notfound and other messages.
Now the NotFound message can be customized by the following code:

import webapi
web.webapi.NotFound.message = "Sorry, the page you were looking for
was not found."

With this change, the approach using in [1] will not work. Please
update your code if you are using that.

I have also added a cookbook entry explaining this.
http://webpy.org/cookbook/custom_notfound

Anand

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to