blob: c03da7a1a92fc59f8b5c3612f6129469c7636d48 (
plain)
1
2
3
4
5
6
7
8
9
|
APP_CONFIG = "production.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)
|