annotate pylons_app/websetup.py @ 87:9f6300b96380
Updated error handling, from mercurial to pylons. + added tempalte for 404
author |
Marcin Kuzminski <marcin@python-blog.com> |
date |
Sun, 18 Apr 2010 21:15:53 +0200 |
parents |
564e40829f80 |
children |
0e87466a117e |
rev |
line source |
0
|
1 """Setup the pylons_app application"""
|
|
2 import logging
|
|
3 from pylons_app.config.environment import load_environment
|
|
4 log = logging.getLogger(__name__)
|
|
5
|
|
6
|
|
7 def setup_app(command, conf, vars):
|
|
8 """Place any commands to setup pylons_app here"""
|
|
9 load_environment(conf.global_conf, conf.local_conf)
|