abort(), detail and the error controller

2007-05-26 Thread [EMAIL PROTECTED]
Hello! I am working on my first real Pylons application and so far everything is going really good! Big thanks to all those involved for creating such a great web framework. I am just getting to adding users to my application. I want to stop users from viewing data that isn't their own. My

Re: abort(), detail and the error controller

2007-05-26 Thread Shannon -jj Behrens
On 5/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello! I am working on my first real Pylons application and so far everything is going really good! Big thanks to all those involved for creating such a great web framework. I am just getting to adding users to my application. I want

Re: abort(), detail and the error controller

2007-05-26 Thread Michael G. Noll
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