Le repo des sources pour le site web des JM2L
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

10 line
204 B

  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)