On Wed, May 2, 2012 at 10:02 PM, Mike Orr <[email protected]> wrote:
> However, (and this is more a question for the Pyramid developers),
> earlier versions of Pyramid used to use a pipeline by default, and
> they could read the application settings. So there's some difference
> between what they did and what you're doing.

In older versions there were no scripts shipped with the scaffolds
(initialize_db didn't exist). Thus the only entry point people used to
the app was via pserve which wants "main" by default, which was the
pipeline in older versions and is now the app. There is some
complexity in pyramid such that when you run proutes or pviews it's
able to find the pyramid application even if it's inside of a
pipeline, but get_appsettings() does not respect that behavior.

-- 
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.

Reply via email to