aboutsummaryrefslogtreecommitdiffstats
path: root/wsgi.py
blob: f77fb8042ca8c83b70cbe624c4007456b02d37e8 (plain)
1
2
3
4
5
6
7
8
9
APP_CONFIG = "prod.ini"

#Setup logging
import logging.config
logging.config.fileConfig(APP_CONFIG)

#Load the application
from paste.deploy import loadapp
application = loadapp('config:%s' % APP_CONFIG)