2016-06-29 23:39:31 +00:00
|
|
|
"""
|
|
|
|
WSGI config for re2o project.
|
|
|
|
|
|
|
|
It exposes the WSGI callable as a module-level variable named ``application``.
|
|
|
|
|
|
|
|
For more information on this file, see
|
|
|
|
https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/
|
|
|
|
"""
|
|
|
|
|
|
|
|
import os
|
|
|
|
from django.core.wsgi import get_wsgi_application
|
2016-07-08 12:42:40 +00:00
|
|
|
from os.path import dirname
|
|
|
|
import sys
|
2016-06-29 23:39:31 +00:00
|
|
|
|
2016-07-08 12:42:40 +00:00
|
|
|
sys.path.append(dirname(dirname(__file__)))
|
2016-06-29 23:39:31 +00:00
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "re2o.settings")
|
|
|
|
|
|
|
|
application = get_wsgi_application()
|