Re: use tween to centralize redirection or something else

2013-04-08 Thread Jerry
I am already using Pyramid auth, but to bend it for the new feature I'd have to edit _every_ add_view(), which will make it an even worse hack than my current tween hack, where I need to manually recreate the attributes used in the template, notably the missing matched_route -- def signup_hack_

Re: use tween to centralize redirection or something else

2013-04-08 Thread Jonathan Vanasco
are you using Pyramid's auth already ? -- 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

use tween to centralize redirection or something else

2013-04-08 Thread jerry
This is what I want to achieve -- Previously users signup with their email address, follow the link in the confirmation email to complete the signup. Now I want to allow them to GET everything before confirming their email, but when they POST to anything, they will be redirected to a page telling