Would it help to use app-specific routes (i.e., put a routes.py file in the application folder)?
On Thursday, April 21, 2011 9:37:33 AM UTC-4, selecta wrote: > that is not so nice, it would be a lot better if i could define the > error message in my application > the reason is that i created an issue tracker plugin that should > directly be displayed with the error message > however since this is a plugin it may not be available in every > application, also the plugin should not have to modify routes to work > can this be fixed? > > On Apr 21, 3:07 pm, Anthony <[email protected]> wrote: > > I think you should be able to specify that in routes.py, as explained > here:http://web2py.com/book/default/chapter/04#Routes-on-Error > > > > > > > > On Thursday, April 21, 2011 5:44:26 AM UTC-4, selecta wrote: > > > I found that in rewrite.py > > > def _params_default(app=None): > > > there is > > > p.error_message_ticket = ... > > > > > Is there a way to customise/overwrite this error messag in my > > > application? > > > or do i have to edit rewrite.py to customize it

