Hi.

I have a UserFactory that I use for traversal of urls like /u/{id}. What I would like to do is return a 403 for a user that does not exist instead of raising a KeyError which returns a 404.

Is there any way to do that?

Thanks.
AM

--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to