my way of doing it is to route to that handler any url that doesnt  
match any other handler in my app.

Sent from my iPhone

On 09-02-23, at 18:25, Dave Warnock <dwarn...@gmail.com> wrote:

>
> Hi,
>
> Using the built in web app framework I am declaring an error 404  
> like this:
>
> class Controller(webapp.RequestHandler):
>  def get(self):
>    self.error(404)
>
> A 404 appears in the console but I do not see a 404 page.
>
> How/where do I define my 404 page and get it to be displayed when I
> declare error(404)?
>
> Thanks
>
> Dave
> -- 
> Dave Warnock: http://42.blogs.warnock.me.uk
>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to