"Brian Beck" <[EMAIL PROTECTED]> writes: > (To Jorge: True, but you still need to import cherrypy to raise > cherrypy.NotFound, unless there's another alternative I don't know > about... I don't keep up with TG development as much as I should.)
I don't know any. But I don't raise this exception -- or even trap it -- in my code, so I don't have it there. ;-) Maybe that's the way I write code: users can bookmark and go to a specific page, but if they type the URL wrong, they get the same 404 page they'd get on another webserver with traditional static pages. Also, when I have a common behaviour, I try wrapping it as a decorator and concentrating it just in one place. This might help you cleaning your imports a little. -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears -~----------~----~----~----~------~----~------~--~---

