Hi All,

I'm not keen on having a .ini config file (project preference is for yaml, go figure...) so I was wondering what the difference is between:

config  =  Configurator() ... app  =  config.make_wsgi_app()


and:

from  pyramid.paster  import  get_app,  setup_logging
ini_path  =  '/Users/chrism/modwsgi/env/myapp/production.ini'
setup_logging(ini_path)
app  =  get_app(ini_path,  'main')


What's different between the app in the first snippet and the app in the second snippet?

What would need to be done to get other tools (pserve, pshell, etc?) to work with a non-ini config?

cheers,

Chris

--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to