On Mar 23, 12:53 pm, Ross Vandegrift <[email protected]> wrote: > On Mon, Mar 23, 2009 at 09:39:01AM -0700, Jonathan Vanasco wrote: > > > This ended up giving me some more questions than answers. > > > Can anyone give me an overview of how this works? The ConfigParser > > docs are pretty bad. > > > When I do the > > use = > > > directive, paster starts throwing errors > > It took me a while to stumble through a similar refactoring of my > config files. The reason seems to be that there's a certain minimum > of stuff you need in an .ini file for it to work as a paster config - > being syntactically valid isn't enough. > > In my development.ini, I have this: > > [app:main] > use = egg:ipdbsite > use = config:ipdbsite.ini > > In ipdbsite.ini, I have: > > [app:main] > use = egg:ipdbsite > var1 = 1 > ...
Just a little nit to pick: I don't think you need the `use = egg:ipdbsite` in development.ini. BTW, have you figured out how to inherit an *entire* config file, or can it only be done per section? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
