Blame view

main.wsgi 264 Bytes
3aee1215   root   Add WSGI main ent...
1
2
3
4
5
6
7
8
import logging
import sys
import os
PROJECT_ROOT_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
#sys.path.append(PROJECT_ROOT_DIR)
sys.path.insert(0, PROJECT_ROOT_DIR)
logging.basicConfig(stream=sys.stderr)
from main import app as application