On 12/9/10 10:26 , Chris McDonough wrote:
On Thu, 2010-12-09 at 10:24 +0100, Wichert Akkerman wrote:
This just caught my eye while reading your mail:

On 12/9/10 09:19 , Chris McDonough wrote:
You might cause it be included within your Pyramid application like so:

       from pyramid.config import Configurator

       def main(global_config, **settings):
           config = Configurator()
           config.include('myapp.myconfig.configure')
           return config.make_wsgi_app()

If I remember correctly pyramid uses resource specs everywhere, so
shouldn't that be 'myapp.myconfig:confgure' instead? It would be awkward
if we started to mix zope dottedname style specifiers with pkg_resources
style source specifiers.

It handles both without issue.

Even better!

Wichert.

--
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-de...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to