diff options
author | tr4ck3ur <tr4ck3ur@style-python.fr> | 2015-02-14 03:35:21 +0100 |
---|---|---|
committer | tr4ck3ur <tr4ck3ur@style-python.fr> | 2015-02-14 03:35:21 +0100 |
commit | 114d2d92147f53a1ed1d0090feedb3fb0b50d064 (patch) | |
tree | d8b9c71567b5b0fcd84f6285c669fc754fbde26f /wsgi.py | |
parent | fa4a9859c57de6b7894ff4b84b75d242f2b796f5 (diff) | |
download | jm2l-114d2d92147f53a1ed1d0090feedb3fb0b50d064.tar.gz jm2l-114d2d92147f53a1ed1d0090feedb3fb0b50d064.tar.bz2 jm2l-114d2d92147f53a1ed1d0090feedb3fb0b50d064.tar.xz jm2l-114d2d92147f53a1ed1d0090feedb3fb0b50d064.zip |
harmonize file structure for third party plugins
Diffstat (limited to 'wsgi.py')
-rw-r--r-- | wsgi.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,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) |