On 5/26/07, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote:

> Yep, I've encountered this same difficulty.  In your case, probably
> the best thing to do is to do a render_response using an error
> template.


I've been doing the same thing: template + render_response/Response with
"code" parameter set appropriately (and maybe HTTP headers if needed). I use
this to display an error message to the user, or for redirecting him to a
login screen in case of an authentication issue.

Michael

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to