On Wed, Nov 19, 2008 at 4:09 AM, paul jobs <[EMAIL PROTECTED]> wrote:
> import web
>
> urls = (...)
> app = web.application(urls, globals())
>
> def notfound():
> return web.notfound("Sorry, the page you were looking for was not found.")
>
>
>
> app.notfound = notfound
>
> this is just like before what is the differenceThe difference is even if you do web.notfound() anywhere in the code, it picks the notfound from the current application and if doesn't have any custom notfound, then from its parent app and so on. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
