You can redirect to static error pages, but assuming that's not what you
want, I suppose the only alternative would be to have the errors handled by
a separate application.
Anthony
On Thursday, April 28, 2011 5:42:54 AM UTC-4, selecta wrote:
> i am currently writing an issue tracker, that works already quite
> nicely
> however I have a big problem
>
> I want the issue tracker to create custom error messages
> i learned that you can do this by modifying routes.py
> routes_onerror = [ ('pyMantis/500', '/pyMantis/plugin_issue/
> error_ticket') ]
>
> this works quite well ... as long as the error is not in a model
> since all models are executed before the view is shown this leads to
> an infinite loop :(
> is there a way to prevent this problem (e.g. different route on model
> errors?)
>
> btw a demo can be seen here
> http://pymantis.org/pymantis_server/plugin_issue/index
>
>