Hi
I do a lot of raise HTTPNotFound('Some message') and
NotAuthorizedError('some message') in my code and wanted to get the
error page to display an error page with the given message. The
default Pylons page just says 'NOT FOUND' and 'NOT AUTHORIZED'... I
first tried playing with the error controller but it seemed like my
custom error message was striped out, and following other posts and
saying 'detail='some message' did nothing. Then following an older
post on this group I commented out:
app = ErrorDocuments(app, global_conf, mapper=error_mapper,
**app_conf)
and it actually started showing my messages. But I want to customize
the page so that it doesn't look like we are in '94 again. Is there a
way I can give it a template or something? What would be the simplest
way to customize this page?
Regards,
Stou
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---