Official JM2L WebSite

wsgi.py 204B

12345678910
  1. APP_CONFIG = "prod.ini"
  2. #Setup logging
  3. import logging.config
  4. logging.config.fileConfig(APP_CONFIG)
  5. #Load the application
  6. from paste.deploy import loadapp
  7. application = loadapp('config:%s' % APP_CONFIG)