Velruse & Traversal

44 views
Skip to first unread message

Jasper van den Bosch

unread,
Oct 6, 2012, 5:02:24 PM10/6/12
to pylons-...@googlegroups.com

I use Velruse as a pyramid 'plugin', and I run into a problem when the 'login result' template (or the 'master' template it inherits from) uses e.g.:

request.resource_url(request.root)

Since the root is then a Velruse-related object, this fails and would not make sense anyway. But I use this a lot to create links in my application's site-wide menu. Have any of you run into this and how would you solve it? One option of course would be to have the 'login_complete_view' redirect to another page, but this seems a 'workaround'.

Thanks for your thoughts,

Jasper



Reply all
Reply to author
Forward
0 new messages