Mercurial > kallithea
view pylons_app/websetup.py @ 10:525ed90e4577
major app speedup moved the wsgi creation to app globals, in order to make it run only once.
little config changes.
author | Marcin Kuzminski |
---|---|
date | Sat, 20 Feb 2010 14:30:13 +0100 |
parents | 564e40829f80 |
children | 0e87466a117e |
line wrap: on
line source
"""Setup the pylons_app application""" import logging from pylons_app.config.environment import load_environment log = logging.getLogger(__name__) def setup_app(command, conf, vars): """Place any commands to setup pylons_app here""" load_environment(conf.global_conf, conf.local_conf)