All pastes #741239 Raw Edit

Stuff

public python v1 · immutable
·published 2007-10-18 15:29 UTC
rendered paste body
from paste.deploy import appconfigfrom pylons import configfrom nz.config.environment import load_environmenthere_dir = os.path.dirname(os.path.abspath(__file__))conf_dir = os.path.dirname(here_dir)conf = appconfig('config:' + os.path.join(conf_dir, 'development.ini'))load_environment(conf.global_conf, conf.local_conf)