There may be an easier to implement Django flatpages in web2py but if you need to trap error codes, look into
web2py/routes.examples.py Massimo On May 26, 12:51 am, desfrenes <desfre...@gmail.com> wrote: > Hello, > > I'm trying to build something similar to the flatpage application in > django, that is an app that maps a simple content to an arbitrary url. > To do so I have to trap 400 and 404 errors and then see if a content > is attached to this url. If so, display it, if not, raise the error > again. > > How can I trap 400 and 404 errors ? > > Cheers --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---