For my db init script I use the following:

from turbogears.config import update_config
update_config(configfile='devcfg.py', modulename='PROJECTNAME.config')

from PROJECTNAME.model import *

Reply via email to