Ben Bangert wrote: > You want: > g.pylons_config.paths > > If you're curious what else is hanging off g.pylons_config, > http://pylonshq.com/docs/0.8.2/class-pylons.config.Config.html >
Good timing... that information is useful. Along similar lines, I'm attempting to add a route to the map at start-up using information that is only established in app_global.py's Globals.__init__(). The **extra param in the __init__() contains the Routes map (extra['config'].map) which I use to add the route. Unfortunately, the routes are added at the end of the list - i.e. at the lowest priority and they are never matched. I can't see a way to increase the priority when calling map.connect(). Have I missed something or is the best approach to move all the static routing setup from routes.py into app_globals.py so I can call map.connect() in the required order? Robert --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
