Skip to content

Instantly share code, notes, and snippets.

@inklesspen
Created November 5, 2009 17:10
Show Gist options
  • Select an option

  • Save inklesspen/227209 to your computer and use it in GitHub Desktop.

Select an option

Save inklesspen/227209 to your computer and use it in GitHub Desktop.
from paste.deploy import appconfig
from MYAPP.config.environment import load_environment
conf = appconfig('config:' + 'PATH_TO_DEVELOPMENT.INI')
load_environment(conf.global_conf, conf.local_conf)
from MYAPP.model import *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment