On Nov 11, 2007 1:07 AM, Mike Orr <[EMAIL PROTECTED]> wrote: > Perhaps we can devise a PylonsComponent template for Paste. However, > I'm still not sure what it would contain other than some trivial > changes to middleware.py (disable some middleware). One feature might > be to read a different section in the config file. Paste has the > concept of [app:main] and [app:otherapp], which I don't think Pylons > is using. You may have to call the config-parsing function yourself > and pass the dict to the app constructor.
Heh heh, is StackedObjectProxy smart enough to handle 'pylons.config' being different in the subapp than the main app? Will it push a new config in the subapp and remember to pop it off afterward even if there's an exception? -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
