Mercurial > kallithea
view pylons_app/websetup.py @ 185:3380ca40cdba
added version generation to pylons_app and showed it into template. Propagated baseController with some data for acces into each controller. Fixed simplehg middleware to get proper name of application
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 22 May 2010 00:51:49 +0200 |
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)