Thanks Ben, That is exacltly what I have done. And I found the 'setup_config' function that does what you explained.
> You'll need to know where your config ini file is, and load your app > from the script. Your websetup.py script in your project should have > code to do this (in 0.9.6 it does). If it doesn't, you'll need to run > this first before importing your models (again, this works in 0.9.6): > > from paste.deploy import appconfig > from pylons import config > > from YOURPROJECT.config.environment import load_environment > > conf = appconfig('config:' +'/wherever/your/config.ini') > load_environment(conf.global_conf, conf.local_conf) > > import YOURPROJECT.model as model > > etc. > > Cheers, > Ben > > smime.p7s > 3KDownload --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---