FTR, this is an answer to the broader question "how do I make it possible to return a response by raising an exception":
http://docs.pylonsproject.org/projects/pyramid_cookbook/dev/exceptions.html#configuring-an-httpexception-exception-view Do this, then use "raise pyramid.httpexceptions.HTTPFound(location='http://...')" wherever you need to do a redirect. On Tue, 2011-02-22 at 09:06 -0800, Jonathan Vanasco wrote: > i'm trying to port some custom pylons authentication , which had > redirects in __init__ and __before__ > -- 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.
