Re: Proxying as user in Pylons with repoze.who

2011-08-26 Thread Bruce Wade
I think you are going about this the wrong way. I did an admin application that allows the admin to browse all providers, then view the page as the provider themselves would view the site, changing menus dynamically etc... But it is all in your Admin application design trying to flip sessions back

Re: Pyramid 1.2a1 released

2011-08-26 Thread Ben Bangert
On Aug 24, 2011, at 11:48 AM, Mike Orr wrote: > There are two things you lose with @view_config. One, routing details > are pushed into the view modules, while Handlers and Pylons try to > make a complete separation between the functionality of the actions > and which URL they're called by. Althou

Re: Pyramid: Hosting an Application Under a URL Prefix

2011-08-26 Thread Wouter Overmeire
Using your suggestion gives an error: LookupError: No loader given in section 'composite:main' But if i add 'use = egg:Paste#urlmap' in [composite:main] on top of your suggestion, it works fine. So the fix i did is: You can rename 'pipeline:main' to 'pipeline:mypipeline': [pipeline:mypipeline